class RSS::Maker::ITunesChannelModel::ITunesCategoriesBase::ITunesCategoryBase
属性
text[RW]
公共实例方法
have_required_values?() 点击以切换源代码
# File rss-0.3.1/lib/rss/maker/itunes.rb, line 106 def have_required_values? text end
to_feed(feed, current) 点击以切换源代码
# File rss-0.3.1/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