Class: Atom::Pub::Categories
- Inherits:
-
Array
- Object
- Array
- Atom::Pub::Categories
- Includes:
- Xml::Parseable
- Defined in:
- lib/atom/pub.rb
Instance Method Summary collapse
- #categories ⇒ Object
-
#initialize(o) ⇒ Categories
constructor
A new instance of Categories.
Methods included from Xml::Parseable
#==, #current_node_is?, included, #next_node_is?, #parse, #to_xml
Constructor Details
#initialize(o) ⇒ Categories
Returns a new instance of Categories.
59 60 61 62 63 |
# File 'lib/atom/pub.rb', line 59 def initialize(o) super([]) o.read parse(o) end |
Instance Method Details
#categories ⇒ Object
66 |
# File 'lib/atom/pub.rb', line 66 def categories; self; end |