class RSS::Maker::ImageItemModel::ImageItemBase
Attributes
Public Instance Methods
Source
# File bundled-src/rss-0.3.2/lib/rss/maker/image.rb, line 37 def have_required_values? @about end
Source
# File bundled-src/rss-0.3.2/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