Class: Automatic::OPML::DOM::OPML
- Defined in:
- lib/automatic/opml.rb
Overview
Element
Instance Attribute Summary
Attributes inherited from Element
Instance Method Summary collapse
Methods inherited from Element
#<<, #[], #[]=, #each, #initialize, #is_breaakpoint?, #is_comment?, #text, #type
Constructor Details
This class inherits a constructor from Automatic::OPML::DOM::Element
Instance Method Details
#body ⇒ Object
96 97 98 |
# File 'lib/automatic/opml.rb', line 96 def body @children.find {|x| x.is_a? Body } end |
#head ⇒ Object
92 93 94 |
# File 'lib/automatic/opml.rb', line 92 def head @children.find {|x| x.is_a? Head } end |