Class: DataKitten::Temporal
- Inherits:
-
Object
- Object
- DataKitten::Temporal
- Defined in:
- lib/data_kitten/temporal.rb
Overview
The temporal coverage of a Dataset or Distribution
Instance Attribute Summary collapse
-
#end ⇒ Date
The end date of the temporal coverage.
-
#start ⇒ Date
The start date of the temporal coverage.
Instance Method Summary collapse
-
#initialize(options) ⇒ Temporal
constructor
Create a new Temporal object.
Constructor Details
#initialize(options) ⇒ Temporal
Create a new Temporal object.
20 21 22 23 |
# File 'lib/data_kitten/temporal.rb', line 20 def initialize() @start = [:start] @end = [:end] end |
Instance Attribute Details
#end ⇒ Date
Returns the end date of the temporal coverage.
13 14 15 |
# File 'lib/data_kitten/temporal.rb', line 13 def end @end end |
#start ⇒ Date
Returns the start date of the temporal coverage.
9 10 11 |
# File 'lib/data_kitten/temporal.rb', line 9 def start @start end |