Class: Musa::Series::Operations::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/musa-dsl/series/main-serie-operations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#parametersObject

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

Returns:

  • (Boolean)


712
713
714
# File 'lib/musa-dsl/series/main-serie-operations.rb', line 712

def infinite?
  @source.infinite?
end