Class: Hangry::HRecipeParser

Inherits:
RecipeParser show all
Defined in:
lib/hangry/hrecipe_parser.rb

Direct Known Subclasses

Parsers::NonStandard::TasteOfHomeParser

Instance Attribute Summary

Attributes inherited from RecipeParser

#nokogiri_doc, #nutrition_ast, #recipe, #recipe_ast, #recipe_html

Class Method Summary collapse

Methods inherited from RecipeParser

can_parse?, canonical_url_matches_domain?, #initialize, #parse

Constructor Details

This class inherits a constructor from Hangry::RecipeParser

Class Method Details

.nutrition_selectorObject



4
5
6
# File 'lib/hangry/hrecipe_parser.rb', line 4

def self.nutrition_selector
  '.nutrition'
end

.root_selectorObject



8
9
10
# File 'lib/hangry/hrecipe_parser.rb', line 8

def self.root_selector
  '.hrecipe, .hRecipe'
end