Class: Wikidatum::DataType::Quantity::HumanizedStruct
- Inherits:
-
Struct
- Object
- Struct
- Wikidatum::DataType::Quantity::HumanizedStruct
- Defined in:
- lib/wikidatum/data_type/quantity.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#unit ⇒ Object
Returns the value of attribute unit.
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
52 53 54 |
# File 'lib/wikidatum/data_type/quantity.rb', line 52 def amount @amount end |
#unit ⇒ Object
Returns the value of attribute unit
52 53 54 |
# File 'lib/wikidatum/data_type/quantity.rb', line 52 def unit @unit end |