Class: Ingreedy::Parser::Result
- Inherits:
-
Struct
- Object
- Struct
- Ingreedy::Parser::Result
- Defined in:
- lib/ingreedy/ingreedy_parser.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#container_amount ⇒ Object
Returns the value of attribute container_amount.
-
#container_unit ⇒ Object
Returns the value of attribute container_unit.
-
#ingredient ⇒ Object
Returns the value of attribute ingredient.
-
#original_query ⇒ Object
Returns the value of attribute original_query.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
12 13 14 |
# File 'lib/ingreedy/ingreedy_parser.rb', line 12 def amount @amount end |
#container_amount ⇒ Object
Returns the value of attribute container_amount
12 13 14 |
# File 'lib/ingreedy/ingreedy_parser.rb', line 12 def container_amount @container_amount end |
#container_unit ⇒ Object
Returns the value of attribute container_unit
12 13 14 |
# File 'lib/ingreedy/ingreedy_parser.rb', line 12 def container_unit @container_unit end |
#ingredient ⇒ Object
Returns the value of attribute ingredient
12 13 14 |
# File 'lib/ingreedy/ingreedy_parser.rb', line 12 def ingredient @ingredient end |
#original_query ⇒ Object
Returns the value of attribute original_query
12 13 14 |
# File 'lib/ingreedy/ingreedy_parser.rb', line 12 def original_query @original_query end |
#unit ⇒ Object
Returns the value of attribute unit
12 13 14 |
# File 'lib/ingreedy/ingreedy_parser.rb', line 12 def unit @unit end |