Class RSS::Rss::Channel::Item::Category
In: lib/rss/0.9.rb
Parent: Element

Methods

Included Modules

RSS09

Public Class methods

[Source]

     # File lib/rss/0.9.rb, line 348
348:           def initialize(*args)
349:             if Utils.element_initialize_arguments?(args)
350:               super
351:             else
352:               super()
353:               self.domain = args[0]
354:               self.content = args[1]
355:             end
356:           end

Private Instance methods

[Source]

     # File lib/rss/0.9.rb, line 359
359:           def maker_target(item)
360:             item.new_category
361:           end

[Source]

     # File lib/rss/0.9.rb, line 363
363:           def setup_maker_attributes(category)
364:             category.domain = domain
365:             category.content = content
366:           end

[Validate]