Module: Tychus
- Defined in:
- lib/tychus.rb,
lib/tychus/parsers.rb,
lib/tychus/version.rb,
lib/tychus/uri_parser.rb,
lib/tychus/parsers/base.rb,
lib/tychus/uri_resolver.rb,
lib/tychus/parser_selector.rb,
lib/tychus/parsers/allrecipes_parser.rb,
lib/tychus/parsers/schema_org_parser.rb,
lib/tychus/parsers/food_network_parser.rb,
lib/tychus/parsers/kraft_recipes_parser.rb
Defined Under Namespace
Modules: Parsers Classes: ParserSelector, URIResolver
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.parse(uri) ⇒ Object
7 8 9 10 11 |
# File 'lib/tychus.rb', line 7 def self.parse(uri) host = URIResolver.new(uri).resolve_uri parser = ParserSelector.resolve_parser(host) parser.new(uri).parse end |