Class

RSS::Parser

Inheritance
< Object

Methods

Class

Visibility Signature
public default_parser ()
public default_parser= (new_value)
public new (rss, parser_class=self.class.default_parser)
public parse (rss, do_validate=true, ignore_unknown_element=true, parser_class=default_parser)

Class Method Detail

default_parser()

default_parser=(new_value)

Set @@default_parser to new_value if it is one of the available parsers. Else raise NotValidXMLParser error.

new(rss, parser_class=self.class.default_parser)

parse(rss, do_validate=true, ignore_unknown_element=true, parser_class=default_parser)