class DataKitten::Temporal

The temporal coverage of a {Dataset} or {Distribution}

Attributes

end[RW]

@!attribute end

@return [Date] the end date of the temporal coverage
start[RW]

@!attribute start

@return [Date] the start date of the temporal coverage

Public Class Methods

new(options) click to toggle source

Create a new Temporal object.

@param options [Hash] A set of options with which to initialise the temporal coverage. @option options [Date] :start the start date of the temporal coverage @option options [Date] :end the end date of the temporal coverage

# File lib/data_kitten/temporal.rb, line 20
def initialize(options)
  @start = options[:start]
  @end = options[:end]
end