| Class | RSS::Maker::RSS09::Channel |
| In: |
rss/maker/0.9.rb
rss/maker/image.rb rss/maker/dublincore.rb rss/maker/taxonomy.rb |
| Parent: | ChannelBase |
# File rss/maker/0.9.rb, line 44 def have_required_values? @title and @link and @description and @language end
# File rss/maker/0.9.rb, line 25 def to_rss(rss) channel = Rss::Channel.new set = setup_values(channel) if set rss.channel = channel setup_items(rss) setup_image(rss) setup_textinput(rss) setup_other_elements(rss) if rss.channel.image rss else nil end elsif variable_is_set? raise NotSetError.new("maker.channel", not_set_required_variables) end end
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.