Class: FFWD::FlushingOutput::Setup
- Inherits:
-
Object
- Object
- FFWD::FlushingOutput::Setup
- Defined in:
- lib/ffwd/flushing_output.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
- #connect(core) ⇒ Object
-
#initialize(log, hook, config) ⇒ Setup
constructor
A new instance of Setup.
Constructor Details
#initialize(log, hook, config) ⇒ Setup
Returns a new instance of Setup.
132 133 134 135 136 |
# File 'lib/ffwd/flushing_output.rb', line 132 def initialize log, hook, config @log = log @hook = hook @config = config end |
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
130 131 132 |
# File 'lib/ffwd/flushing_output.rb', line 130 def config @config end |
Instance Method Details
#connect(core) ⇒ Object
138 139 140 |
# File 'lib/ffwd/flushing_output.rb', line 138 def connect core FlushingOutput.new core, @log, @hook, @config end |