Class RSS::BaseParser
In: rss/parser.rb
Parent: Object

Methods

Public Class methods

[Source]

# File rss/parser.rb, line 136
    def initialize(rss)
      @listener = self.class.listener.new
      @rss = rss
    end

[Source]

# File rss/parser.rb, line 131
      def raise_for_undefined_entity?
        listener.raise_for_undefined_entity?
      end

Public Instance methods

[Source]

# File rss/parser.rb, line 153
    def do_validate
      @listener.do_validate
    end

[Source]

# File rss/parser.rb, line 157
    def do_validate=(new_value)
      @listener.do_validate = new_value
    end

[Source]

# File rss/parser.rb, line 145
    def ignore_unknown_element
      @listener.ignore_unknown_element
    end

[Source]

# File rss/parser.rb, line 149
    def ignore_unknown_element=(new_value)
      @listener.ignore_unknown_element = new_value
    end

[Source]

# File rss/parser.rb, line 161
    def parse
      if @listener.rss.nil?
        _parse
      end
      @listener.rss
    end

[Source]

# File rss/parser.rb, line 141
    def rss
      @listener.rss
    end

[Validate]

ruby-doc.org is hosted and run by James Britt and Happy Camper Studios, a Ruby application development company in Phoenix, Arizona. Ruby-doc.org was created in 2002 to promote the Ruby language and to help other Ruby hackers.

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.