method
to_feed

to_feed(feed, current)
public
Hide source
# File lib/rss/maker/image.rb, line 41 def to_feed(feed, current) if current.respond_to?(:image_item=) and have_required_values? item = current.class::ImageItem.new setup_values(item) setup_other_elements(item) current.image_item = item end end