method

to_rss

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: RSS::Maker::RSS09::Channel
to_rss(rss) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/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
Register or log in to add new notes.