Module: XML::Feed::Parser

Defined in:
lib/xml/libxml/feed/parser.rb,
lib/xml/libxml/feed/parsers/rss.rb

Defined Under Namespace

Classes: Base, InvalidHandle, Rss, Tag, ValidationError

Class Method Summary collapse

Class Method Details

.method_missing(method, *args) ⇒ Object



4
5
6
7
# File 'lib/xml/libxml/feed/parser.rb', line 4

def self.method_missing(method, *args)
    require "xml/libxml/feed/parsers/#{method.to_s.downcase}"
    return self.const_get(method.to_s.capitalize).new(*args)
end