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

Private Instance methods

[Source]

     # File lib/rss/0.9.rb, line 364
364:           def maker_target(item)
365:             item.new_category
366:           end

[Source]

     # File lib/rss/0.9.rb, line 368
368:           def setup_maker_attributes(category)
369:             category.domain = domain
370:             category.content = content
371:           end

[Validate]