Class: Crack::XML

Inherits:
Object
  • Object
show all
Defined in:
lib/crack/xml.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) parse(xml)



234
235
236
# File 'lib/crack/xml.rb', line 234

def self.parse(xml)
  parser.parse(xml)
end

+ (Object) parser



226
227
228
# File 'lib/crack/xml.rb', line 226

def self.parser
  @@parser ||= REXMLParser
end

+ (Object) parser=(parser)



230
231
232
# File 'lib/crack/xml.rb', line 230

def self.parser=(parser)
  @@parser = parser
end