Class: XMLReader
- Inherits:
-
Object
- Object
- XMLReader
- Includes:
- Enumerable
- Defined in:
- lib/wp/wiki.rb,
lib/wp/old/xmlreader.rb
Instance Method Summary collapse
- #each ⇒ Object
-
#initialize(filename) ⇒ XMLReader
constructor
A new instance of XMLReader.
Constructor Details
#initialize(filename) ⇒ XMLReader
Returns a new instance of XMLReader.
62 63 64 |
# File 'lib/wp/wiki.rb', line 62 def initialize(input) @doc = Nokogiri::XML.fragment input end |