Class RSS::Maker::RSS20::Items::Item::Enclosure
In: rss/maker/2.0.rb
Parent: RSS09::Items::Item::Enclosure

Methods

Public Instance methods

[Source]

# File rss/maker/2.0.rb, line 116
            def have_required_values?
              @url and @length and @type
            end

[Source]

# File rss/maker/2.0.rb, line 107
            def to_rss(rss, item)
              enclosure = Rss::Channel::Item::Enclosure.new
              set = setup_values(enclosure)
              if set
                item.enclosure = enclosure
                setup_other_elements(rss)
              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.