Class: Musa::Datasets::P::PtoTimedSerie

Inherits:
Object
  • Object
show all
Defined in:
lib/musa-dsl/datasets/p.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(origin, base_duration, time_start) ⇒ PtoTimedSerie

Returns a new instance of PtoTimedSerie.



51
52
53
54
55
56
57
58
59
# File 'lib/musa-dsl/datasets/p.rb', line 51

def initialize(origin, base_duration, time_start)
  @origin = origin
  @base_duration = base_duration
  @time_start = time_start

  init

  mark_as_prototype!
end

Instance Attribute Details

#base_durationObject

Returns the value of attribute base_duration.



62
63
64
# File 'lib/musa-dsl/datasets/p.rb', line 62

def base_duration
  @base_duration
end

#originObject

Returns the value of attribute origin.



61
62
63
# File 'lib/musa-dsl/datasets/p.rb', line 61

def origin
  @origin
end

#time_startObject

Returns the value of attribute time_start.



63
64
65
# File 'lib/musa-dsl/datasets/p.rb', line 63

def time_start
  @time_start
end