class FoodIngredientParser::Strict::Grammar::AmountNode
Amount, specifying an ingredient.
Public Instance Methods
to_h()
click to toggle source
# File lib/food_ingredient_parser/strict/nodes.rb, line 64 def to_h { amount: amount.text_value } end