Class RSS::Rss
In: rss/0.9.rb
rss/2.0.rb
rss/trackback.rb
Parent: Element

Methods

Included Modules

RSS09 RootElementMixin

Classes and Modules

Class RSS::Rss::Channel

Attributes

encoding  [RW] 
rss_version  [RW] 
standalone  [RW] 
version  [RW] 

Public Class methods

[Source]

# File rss/0.9.rb, line 27
    def initialize(rss_version, version=nil, encoding=nil, standalone=nil)
      super
    end

Public Instance methods

[Source]

# File rss/0.9.rb, line 39
    def image
      if @channel
        @channel.image
      else
        nil
      end
    end

[Source]

# File rss/0.9.rb, line 31
    def items
      if @channel
        @channel.items
      else
        []
      end
    end

[Source]

# File rss/0.9.rb, line 55
    def setup_maker_elements(maker)
      super
      items.each do |item|
        item.setup_maker(maker.items)
      end
    end

[Source]

# File rss/0.9.rb, line 47
    def textinput
      if @channel
        @channel.textInput
      else
        nil
      end
    end

[Validate]

ruby-doc.org is a community service provided by James Britt and Happy Camper Studios, a Phoenix, Arizona, Ruby application development company.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.