Class: Xmlish::Parser
- Inherits:
-
Object
- Object
- Xmlish::Parser
- Defined in:
- lib/xmlish.rb
Instance Method Summary collapse
-
#initialize(str, tag_names) ⇒ Parser
constructor
A new instance of Parser.
- #parse ⇒ Object
Constructor Details
#initialize(str, tag_names) ⇒ Parser
Returns a new instance of Parser.
43 44 45 46 |
# File 'lib/xmlish.rb', line 43 def initialize str, tag_names @str = str @tag_names = tag_names end |
Instance Method Details
#parse ⇒ Object
48 49 50 |
# File 'lib/xmlish.rb', line 48 def parse normalise(parse_string @str) end |