Class: Timeprice::CpiPoint
- Inherits:
-
Data
- Object
- Data
- Timeprice::CpiPoint
- Defined in:
- lib/timeprice/cpi_lookup.rb
Overview
CpiPoint pairs a CPI index value with the granularity of how it was resolved (monthly, annual, or annual derived by averaging 12 months).
Instance Attribute Summary collapse
-
#granularity ⇒ Object
readonly
Returns the value of attribute granularity.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Attribute Details
#granularity ⇒ Object (readonly)
Returns the value of attribute granularity
8 9 10 |
# File 'lib/timeprice/cpi_lookup.rb', line 8 def granularity @granularity end |
#value ⇒ Object (readonly)
Returns the value of attribute value
8 9 10 |
# File 'lib/timeprice/cpi_lookup.rb', line 8 def value @value end |