class RSS::Rss::Channel::Item::Category
公共类方法
new(*args) 点击切换源代码
调用超类方法
# File rss-0.3.1/lib/rss/0.9.rb, line 387 def initialize(*args) if Utils.element_initialize_arguments?(args) super else super() self.domain = args[0] self.content = args[1] end end
私有实例方法
maker_target(item) 点击切换源代码
# File rss-0.3.1/lib/rss/0.9.rb, line 398 def maker_target(item) item.new_category end
setup_maker_attributes(category) 点击切换源代码
# File rss-0.3.1/lib/rss/0.9.rb, line 402 def setup_maker_attributes(category) category.domain = domain category.content = content end