class FoodIngredientParser::Strict::Grammar::ListNode
List of ingredients.
Public Instance Methods
to_a()
click to toggle source
# File lib/food_ingredient_parser/strict/nodes.rb, line 36 def to_a to_a_deep(contains, IngredientNode).map(&:to_h) end