Class: Crack::XML
- Inherits:
-
Object
- Object
- Crack::XML
- Defined in:
- lib/crack/xml.rb
Class Method Summary collapse
Class Method Details
.parse(xml) ⇒ Object
226 227 228 |
# File 'lib/crack/xml.rb', line 226 def self.parse(xml) parser.parse(xml) end |
.parser ⇒ Object
218 219 220 |
# File 'lib/crack/xml.rb', line 218 def self.parser @@parser ||= REXMLParser end |
.parser=(parser) ⇒ Object
222 223 224 |
# File 'lib/crack/xml.rb', line 222 def self.parser=(parser) @@parser = parser end |