Class: Musa::Datasets::P::PtoTimedSerie
- Inherits:
-
Object
- Object
- Musa::Datasets::P::PtoTimedSerie
- Defined in:
- lib/musa-dsl/datasets/p.rb
Instance Attribute Summary collapse
-
#base_duration ⇒ Object
Returns the value of attribute base_duration.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#time_start ⇒ Object
Returns the value of attribute time_start.
Instance Method Summary collapse
-
#initialize(origin, base_duration, time_start) ⇒ PtoTimedSerie
constructor
A new instance of PtoTimedSerie.
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_duration ⇒ Object
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 |
#origin ⇒ Object
Returns the value of attribute origin.
61 62 63 |
# File 'lib/musa-dsl/datasets/p.rb', line 61 def origin @origin end |
#time_start ⇒ Object
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 |