class Crack::XML

Public Class Methods

parse(xml) click to toggle source
# File lib/crack/xml.rb, line 228
def self.parse(xml)
  parser.parse(xml)
end
parser() click to toggle source
# File lib/crack/xml.rb, line 220
def self.parser
  @@parser ||= REXMLParser
end
parser=(parser) click to toggle source
# File lib/crack/xml.rb, line 224
def self.parser=(parser)
  @@parser = parser
end