Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > rssライブラリ > RSS::Maker::RSS20::Items::Item::Categoriesクラス > new_category

instance method RSS::Maker::RSS20::Items::Item::Categories#new_category

new_category

[TODO]

新しくcategoryを作成し,返します.作成された categoryはcategoryリストの最後 に追加されています.

item.categories.new_categoryが作成する categoryは maker.channel.categories.new_categoryが作成する categoryと同じAPIを持ちます.

class RSS::Maker::RSS20::Items::Item::Categories