Class: RSS::Maker::ITunesChannelModel::ITunesCategoriesBase::ITunesCategoryBase
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
|
|
Instance Chain:
self,
::RSS::Maker::Base
|
|
Inherits: |
RSS::Maker::Base
|
Defined in: | lib/rss/maker/itunes.rb |
Constant Summary
::RSS::Maker::Base
- Inherited
Class Method Summary
::RSS::Maker::Base
- Inherited
::RSS::Utils::InheritedReader
- Extended
Instance Attribute Summary
- #have_required_values? ⇒ Boolean readonly
- #text rw
::RSS::Maker::Base
- Inherited
Instance Method Summary
::RSS::Maker::Base
- Inherited
Constructor Details
This class inherits a constructor from RSS::Maker::Base
Instance Attribute Details
#have_required_values? ⇒ Boolean
(readonly)
[ GitHub ]
# File 'lib/rss/maker/itunes.rb', line 106
def have_required_values? text end
#text (rw)
[ GitHub ]# File 'lib/rss/maker/itunes.rb', line 101
attr_accessor :text
Instance Method Details
#to_feed(feed, current)
[ GitHub ]# File 'lib/rss/maker/itunes.rb', line 111
def to_feed(feed, current) if text and current.respond_to?(:itunes_category) new_item = current.class::ITunesCategory.new(text) to_feed_for_categories(feed, new_item) current.itunes_categories << new_item end end
#to_feed_for_categories
[ GitHub ]# File 'lib/rss/maker/itunes.rb', line 110
alias_method :to_feed_for_categories, :to_feed