Class: RSS::Maker::Atom::Feed::Items

Inherits:
ItemsBase show all
Defined in:
lib/rss/maker/feed.rb

Defined Under Namespace

Classes: Item

Constant Summary

Constants inherited from Base

Base::NEED_INITIALIZE_VARIABLES, Base::OTHER_ELEMENTS

Instance Attribute Summary

Attributes inherited from ItemsBase

#do_sort, #max_size

Attributes inherited from Base

#maker

Instance Method Summary collapse

Methods inherited from ItemsBase

#initialize, #normalize

Methods inherited from Base

add_need_initialize_variable, add_other_element, def_array_element, def_classed_element, def_classed_element_without_accessor, def_classed_elements, def_csv_element, def_other_element, def_other_element_without_accessor, #have_required_values?, inherited, inherited_base, #initialize, need_initialize_variables, other_elements, #variable_is_set?

Methods included from Utils::InheritedReader

#inherited_array_reader, #inherited_hash_reader, #inherited_reader

Constructor Details

This class inherits a constructor from RSS::Maker::ItemsBase

Instance Method Details

#to_feed(feed) ⇒ Object



173
174
175
176
177
178
# File 'lib/rss/maker/feed.rb', line 173

def to_feed(feed)
  normalize.each do |item|
    item.to_feed(feed)
  end
  setup_other_elements(feed, feed.entries)
end