Class RSS::Maker::RSS10::Image
In: rss/maker/1.0.rb
rss/maker/dublincore.rb
Parent: ImageBase

Methods

Public Instance methods

[Source]

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

[Source]

# File rss/maker/1.0.rb, line 110
        def to_rss(rss)
          if @url
            image = RDF::Image.new(@url)
            set = setup_values(image)
            if set
              rss.image = image
              setup_other_elements(rss)
            end
          end
        end

[Validate]

ruby-doc.org is a community service provided by 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.