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 349
349:           def initialize(*args)
350:             if Utils.element_initialize_arguments?(args)
351:               super
352:             else
353:               super()
354:               self.domain = args[0]
355:               self.content = args[1]
356:             end
357:           end

Private Instance methods

[Source]

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

[Source]

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

[Validate]