Class RSS::Maker::RSS10::Channel
In: rss/maker/1.0.rb
rss/maker/image.rb
rss/maker/dublincore.rb
rss/maker/taxonomy.rb
Parent: ChannelBase

Methods

Classes and Modules

Class RSS::Maker::RSS10::Channel::Categories
Class RSS::Maker::RSS10::Channel::Cloud
Class RSS::Maker::RSS10::Channel::ImageFavicon
Class RSS::Maker::RSS10::Channel::SkipDays
Class RSS::Maker::RSS10::Channel::SkipHours

Public Instance methods

[Source]

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

[Source]

# File rss/maker/1.0.rb, line 28
        def to_rss(rss)
          set = false
          if @about
            channel = RDF::Channel.new(@about)
            set = setup_values(channel)
            if set
              channel.dc_dates.clear
              rss.channel = channel
              setup_items(rss)
              setup_image(rss)
              setup_textinput(rss)
              setup_other_elements(rss)
            end
          end

          if (!@about or !set) and variable_is_set?
            raise NotSetError.new("maker.channel", not_set_required_variables)
          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.