class FFWD::Processor::Setup

Attributes

name[R]

Public Class Methods

new(name, factory, options) click to toggle source
# File lib/ffwd/processor.rb, line 26
def initialize name, factory, options
  @name = name
  @factory = factory
  @options = options
end

Public Instance Methods

setup(emitter) click to toggle source
# File lib/ffwd/processor.rb, line 32
def setup emitter
  @factory.new emitter, @options
end