Class: Rookout::Processor::ProcessorFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/rookout/processor/processor_factory.rb

Instance Method Summary collapse

Instance Method Details

#create_operation(configuration) ⇒ Object



8
9
10
# File 'lib/rookout/processor/processor_factory.rb', line 8

def create_operation configuration
  Operations::SetOperation.new configuration, self
end

#create_path(configuration) ⇒ Object



12
13
14
# File 'lib/rookout/processor/processor_factory.rb', line 12

def create_path configuration
  Paths::ArithmeticPath.new configuration
end

#create_processor(configuration) ⇒ Object



16
17
18
# File 'lib/rookout/processor/processor_factory.rb', line 16

def create_processor configuration
  Processor.new configuration, self
end