Class: Musa::Series::Operations::Processor
- Inherits:
-
Object
- Object
- Musa::Series::Operations::Processor
- Defined in:
- lib/musa-dsl/series/main-serie-operations.rb
Instance Attribute Summary collapse
-
#parameters ⇒ Object
Returns the value of attribute parameters.
Instance Method Summary collapse
- #infinite? ⇒ Boolean
-
#initialize(serie, parameters, &processor) ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize(serie, parameters, &processor) ⇒ Processor
Returns a new instance of Processor.
667 668 669 670 671 672 673 674 |
# File 'lib/musa-dsl/series/main-serie-operations.rb', line 667 def initialize(serie, parameters, &processor) self.source = serie self.parameters = parameters self.proc = processor if processor init end |
Instance Attribute Details
#parameters ⇒ Object
Returns the value of attribute parameters.
676 677 678 |
# File 'lib/musa-dsl/series/main-serie-operations.rb', line 676 def parameters @parameters end |
Instance Method Details
#infinite? ⇒ Boolean
712 713 714 |
# File 'lib/musa-dsl/series/main-serie-operations.rb', line 712 def infinite? @source.infinite? end |