Class: Abroad::Extractors::Xml::XmlExtractor
- Defined in:
- lib/abroad/extractors/xml/xml_extractor.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Extractor
Instance Method Summary collapse
Methods inherited from Extractor
#close, from_stream, from_string, #initialize, open
Constructor Details
This class inherits a constructor from Abroad::Extractors::Extractor
Instance Method Details
#extract_each(options = {}, &block) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/abroad/extractors/xml/xml_extractor.rb', line 8 def extract_each( = {}, &block) if block_given? each_entry(&block) else to_enum(__method__, ) end end |