Class: Ingreedy::Parser::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/ingreedy/ingreedy_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



12
13
14
# File 'lib/ingreedy/ingreedy_parser.rb', line 12

def amount
  @amount
end

#container_amountObject

Returns the value of attribute container_amount

Returns:

  • (Object)

    the current value of container_amount



12
13
14
# File 'lib/ingreedy/ingreedy_parser.rb', line 12

def container_amount
  @container_amount
end

#container_unitObject

Returns the value of attribute container_unit

Returns:

  • (Object)

    the current value of container_unit



12
13
14
# File 'lib/ingreedy/ingreedy_parser.rb', line 12

def container_unit
  @container_unit
end

#ingredientObject

Returns the value of attribute ingredient

Returns:

  • (Object)

    the current value of ingredient



12
13
14
# File 'lib/ingreedy/ingreedy_parser.rb', line 12

def ingredient
  @ingredient
end

#original_queryObject

Returns the value of attribute original_query

Returns:

  • (Object)

    the current value of original_query



12
13
14
# File 'lib/ingreedy/ingreedy_parser.rb', line 12

def original_query
  @original_query
end

#unitObject

Returns the value of attribute unit

Returns:

  • (Object)

    the current value of unit



12
13
14
# File 'lib/ingreedy/ingreedy_parser.rb', line 12

def unit
  @unit
end