Class RSS::Maker::RSS10::Items::Item
In: rss/maker/1.0.rb
rss/maker/image.rb
rss/maker/dublincore.rb
rss/maker/trackback.rb
rss/maker/taxonomy.rb
Parent: ItemBase

Methods

Classes and Modules

Class RSS::Maker::RSS10::Items::Item::Categories
Class RSS::Maker::RSS10::Items::Item::Enclosure
Class RSS::Maker::RSS10::Items::Item::Guid
Class RSS::Maker::RSS10::Items::Item::ImageItem
Class RSS::Maker::RSS10::Items::Item::Source
Class RSS::Maker::RSS10::Items::Item::TrackBackAbouts

Public Instance methods

[Source]

# File rss/maker/1.0.rb, line 154
          def have_required_values?
            @title and @link
          end

[Source]

# File rss/maker/1.0.rb, line 142
          def to_rss(rss)
            if @link
              item = RDF::Item.new(@link)
              set = setup_values(item)
              if set
                item.dc_dates.clear
                rss.items << item
                setup_other_elements(rss)
              end
            end
          end

[Validate]

ruby-doc.org is hosted and maintained by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. The site was created in 2002 as part of the Ruby Documentation Project to promote the Ruby language and to help other Ruby hackers.

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.