Class: FFWD::FlushingOutput::Setup

Inherits:
Object
  • Object
show all
Defined in:
lib/ffwd/flushing_output.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#configObject (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