Class: Xommelier::OPML::Outline

Inherits:
Element show all
Defined in:
lib/xommelier/opml.rb

Constant Summary

Constants included from Xml::Element::Serialization

Xml::Element::Serialization::SAVE_OPTIONS, Xml::Element::Serialization::SERIALIZATION_OPTIONS

Instance Attribute Summary

Attributes inherited from Xml::Element

#options

Attributes included from Xml::Element::Namespace

#schema_validation_errors

Complex Types collapse

Methods inherited from Element

attribute, element

Methods inherited from Xml::Element

#initialize, #inspect

Methods included from Xml::Element::Serialization

#<=>, #==, #=~, #from_xml, #to_hash, #to_nokogiri, #to_s, #to_xml

Methods included from Xml::Element::Namespace

#valid?

Constructor Details

This class inherits a constructor from Xommelier::Xml::Element

Instance Method Details

#each_outline {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:



101
102
103
104
105
106
# File 'lib/xommelier/opml.rb', line 101

def each_outline(&block)
  yield(self)
  outlines.each do |outline|
    outline.each_outline(&block)
  end
end