class Hydra::RunnerListener::Abstract
Abstract listener that implements all the events but does nothing.
Public Class Methods
new(output = $stdout)
click to toggle source
Create a new listener.
Output: The IO object for outputting any information. Defaults to STDOUT, but you could pass a file in, or STDERR
# File lib/hydra/runner_listener/abstract.rb, line 10 def initialize(output = $stdout) @output = output end
Public Instance Methods
runner_begin( runner )
click to toggle source
Fired by the runner just before requesting the first file
# File lib/hydra/runner_listener/abstract.rb, line 15 def runner_begin( runner ) end
runner_end( runner )
click to toggle source
Fired by the runner just after stoping
# File lib/hydra/runner_listener/abstract.rb, line 19 def runner_end( runner ) end