Class: Atom::Categories

Inherits:
Element show all
Defined in:
lib/atom/collection.rb

Instance Attribute Summary collapse

Attributes inherited from Element

#base, #extensions

Instance Method Summary collapse

Methods inherited from Element

#append_elem, attributes, #build, builders, def_get, def_set, do_parsing, #get, #get_atom_attrb, #get_atom_elem, #get_atom_elems, #get_elem, #get_elems, #initialize, is_atom_element, is_element, on_build, on_init, parse, run_initters, #set, #set_atom_attrb, #to_s, #to_xml

Methods included from Parsers

#on_parse, #on_parse_attr, #on_parse_many, #on_parse_root, #parse_plain

Methods included from Converters

#atom_attrb, #atom_element, #atom_elements, #atom_link, #atom_string, #atom_time, #attrb, #build_plain, #element, #elements, #strings, #time

Constructor Details

This class inherits a constructor from Atom::Element

Instance Attribute Details

#fixedObject

‘fixed’ attribute parsing/building



22
23
24
# File 'lib/atom/collection.rb', line 22

def fixed
  @fixed
end

Instance Method Details

#scheme=(s) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/atom/collection.rb', line 13

def scheme= s
  list.each do |cat|
    unless cat.scheme
      cat.scheme = s
    end
  end
end