Class: Wikidatum::DataType::Quantity::HumanizedStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/wikidatum/data_type/quantity.rb

Instance Attribute Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



52
53
54
# File 'lib/wikidatum/data_type/quantity.rb', line 52

def amount
  @amount
end

#unitObject

Returns the value of attribute unit

Returns:

  • (Object)

    the current value of unit



52
53
54
# File 'lib/wikidatum/data_type/quantity.rb', line 52

def unit
  @unit
end