class RSS::Rss::Channel::Item::Category
Public Class Methods
Source
# File bundled-src/rss-0.3.2/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
Calls superclass method
Private Instance Methods
Source
# File bundled-src/rss-0.3.2/lib/rss/0.9.rb, line 398 def maker_target(item) item.new_category end
Source
# File bundled-src/rss-0.3.2/lib/rss/0.9.rb, line 402 def setup_maker_attributes(category) category.domain = domain category.content = content end