Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • rss/maker/itunes.rb

Class/Module Index [+]

Quicksearch

RSS::Maker::ITunesChannelModel::ITunesCategoriesBase::ITunesCategoryBase

Attributes

text[RW]

Public Instance Methods

have_required_values?() click to toggle source
 
               # File rss/maker/itunes.rb, line 103
def have_required_values?
  text
end
            
to_feed(feed, current) click to toggle source
 
               # File rss/maker/itunes.rb, line 108
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
            
Also aliased as: to_feed_for_categories
to_feed_for_categories(feed, current) click to toggle source
Alias for: to_feed

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.