Module: Statsample::TimeSeriesShorthands

Included in:
Array
Defined in:
lib/statsample-timeseries/timeseries.rb

Instance Method Summary collapse

Instance Method Details

#to_time_series(*args) ⇒ Object Also known as: to_ts

Creates a new Statsample::TimeSeries object Argument should be equal to TimeSeries.new


5
6
7
# File 'lib/statsample-timeseries/timeseries.rb', line 5

def to_time_series(*args)
  Statsample::TimeSeries::Series.new(self, :scale, *args)
end