class Wikidata::Property::Quantity
Public Instance Methods
amount()
click to toggle source
# File lib/wikidata/property/quantity.rb, line 4 def amount value.amount.to_f end
lowerBound()
click to toggle source
# File lib/wikidata/property/quantity.rb, line 10 def lowerBound value.lowerBound.to_f end
unit()
click to toggle source
# File lib/wikidata/property/quantity.rb, line 13 def unit value.unit end
upperBound()
click to toggle source
# File lib/wikidata/property/quantity.rb, line 7 def upperBound value.upperBound.to_f end