123456789_123456789_123456789_123456789_123456789_

Class: RSS::Maker::ITunesItemModel::ITunesImageBase

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSS::Maker::Base
Defined in: lib/rss/maker/itunes.rb

Constant Summary

::RSS::Maker::Base - Inherited

NEED_INITIALIZE_VARIABLES, OTHER_ELEMENTS

Class Method Summary

Instance Attribute Summary

Instance Method Summary

Constructor Details

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

Instance Attribute Details

#href (rw)

[ GitHub ]

  
# File 'lib/rss/maker/itunes.rb', line 176

attr_accessor("href")

Instance Method Details

#to_feed(feed, current)

[ GitHub ]

  
# File 'lib/rss/maker/itunes.rb', line 178

def to_feed(feed, current)
  if @href and current.respond_to?(:itunes_image)
    current.itunes_image ||= current.class::ITunesImage.new
    current.itunes_image.href = @href
  end
end