lib/janis/proxy_website_parser.rb in janis-0.1.2 vs lib/janis/proxy_website_parser.rb in janis-0.1.3

- old
+ new

@@ -2,9 +2,21 @@ module Parsing module SpecificParsers + class Proxy + + def initialize(attribs = {}) + @attribs = attribs + end + + def method_missing?(message) + @attribs[message] || super + end + + end + class ProxyWebsiteParser attr_reader :url @@subclasses = []