Class: Crack::XML
- Inherits:
-
Object
- Object
- Crack::XML
- Defined in:
- lib/crack/xml.rb
Class Method Summary collapse
Class Method Details
.parse(xml) ⇒ Object
234 235 236 |
# File 'lib/crack/xml.rb', line 234 def self.parse(xml) parser.parse(xml) end |
.parser ⇒ Object
226 227 228 |
# File 'lib/crack/xml.rb', line 226 def self.parser @@parser ||= REXMLParser end |
.parser=(parser) ⇒ Object
230 231 232 |
# File 'lib/crack/xml.rb', line 230 def self.parser=(parser) @@parser = parser end |