method
to_feed
to_feed(rss, item)
public
Hide source
# File lib/rss/maker/2.0.rb, line 130 def to_feed(rss, item) enclosure = Rss::Channel::Item::Enclosure.new set = setup_values(enclosure) if set item.enclosure = enclosure set_parent(enclosure, item) setup_other_elements(rss, enclosure) end end