Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more

In Files

  • rss/1.0.rb
  • rss/maker/1.0.rb

Parent

Included Modules

Class/Module Index [+]

Quicksearch

RSS::RDF::Channel::Items

Constants

Seq

Public Class Methods

new(*args) click to toggle source
 
               # File rss/1.0.rb, line 285
def initialize(*args)
  if Utils.element_initialize_arguments?(args)
    super
  else
    super()
    self.Seq = args[0]
  end
  self.Seq ||= Seq.new
end
            
required_uri() click to toggle source
 
               # File rss/1.0.rb, line 276
def required_uri
  ::RSS::URI
end
            

Public Instance Methods

resources() click to toggle source
 
               # File rss/1.0.rb, line 295
def resources
  if @Seq
    @Seq.lis.collect do |li|
      li.resource
    end
  else
    []
  end
end