Class: FFWD::Processor::Setup
- Inherits:
-
Object
- Object
- FFWD::Processor::Setup
- Defined in:
- lib/ffwd/processor.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, factory, options) ⇒ Setup
constructor
A new instance of Setup.
- #setup(emitter) ⇒ Object
Constructor Details
#initialize(name, factory, options) ⇒ Setup
Returns a new instance of Setup.
26 27 28 29 30 |
# File 'lib/ffwd/processor.rb', line 26 def initialize name, factory, @name = name @factory = factory @options = end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
24 25 26 |
# File 'lib/ffwd/processor.rb', line 24 def name @name end |
Instance Method Details
#setup(emitter) ⇒ Object
32 33 34 |
# File 'lib/ffwd/processor.rb', line 32 def setup emitter @factory.new emitter, @options end |