method

start_rss

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: RSS::ListenerMixin
start_rss(tag_name, prefix, attrs, ns) private

No documentation

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

Hide source
# File lib/rss/0.9.rb, line 408
    def start_rss(tag_name, prefix, attrs, ns)
      check_ns(tag_name, prefix, ns, "")
      
      @rss = Rss.new(attrs['version'], @version, @encoding, @standalone)
      @rss.do_validate = @do_validate
      @rss.xml_stylesheets = @xml_stylesheets
      @last_element = @rss
      @proc_stack.push Proc.new { |text, tags|
        @rss.validate_for_stream(tags, @ignore_unknown_element) if @do_validate
      }
    end
Register or log in to add new notes.