class RSS::Maker::ImageFaviconModel::ImageFaviconBase

属性

about[RW]
image_size[RW]
size[RW]
size=[RW]

公共实例方法

have_required_values?() 点击以切换源代码
# File rss-0.3.1/lib/rss/maker/image.rb, line 77
def have_required_values?
  @about and @image_size
end
to_feed(feed, current) 点击以切换源代码
# File rss-0.3.1/lib/rss/maker/image.rb, line 81
def to_feed(feed, current)
  if current.respond_to?(:image_favicon=) and have_required_values?
    favicon = current.class::ImageFavicon.new
    setup_values(favicon)
    setup_other_elements(favicon)
    current.image_favicon = favicon
  end
end