Class: RSS::Maker::ITunesItemModel::ITunesImageBase
- Defined in:
- lib/rss/maker/itunes.rb
Constant Summary
Constants inherited from Base
Base::NEED_INITIALIZE_VARIABLES, Base::OTHER_ELEMENTS
Instance Attribute Summary collapse
-
#href ⇒ Object
Returns the value of attribute href.
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
add_need_initialize_variable, add_other_element, def_array_element, def_classed_element, def_classed_element_without_accessor, def_classed_elements, def_csv_element, def_other_element, def_other_element_without_accessor, #have_required_values?, inherited, inherited_base, #initialize, need_initialize_variables, other_elements, #variable_is_set?
Methods included from Utils::InheritedReader
#inherited_array_reader, #inherited_hash_reader, #inherited_reader
Constructor Details
This class inherits a constructor from RSS::Maker::Base
Instance Attribute Details
#href ⇒ Object
Returns the value of attribute href.
178 179 180 |
# File 'lib/rss/maker/itunes.rb', line 178 def href @href end |
Instance Method Details
#to_feed(feed, current) ⇒ Object
180 181 182 183 184 185 |
# File 'lib/rss/maker/itunes.rb', line 180 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 |