Module: FoodFishParser::Strict::Grammar::CatchAreaNode
- Includes:
- SyntaxNodeAdditions
- Defined in:
- lib/food_fish_parser/strict/nodes.rb
Instance Method Summary collapse
Methods included from SyntaxNodeAdditions
Instance Method Details
#to_h ⇒ Object
54 55 56 57 58 59 |
# File 'lib/food_fish_parser/strict/nodes.rb', line 54 def to_h { text: area.text_value, fao_codes: to_a_deep(self, FaoAreaCodeNode).map(&:text_value) } end |