Class: Loris::CLI::Main::DummyActioner

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

Instance Method Summary collapse

Constructor Details

#initialize(actioner, stream) ⇒ DummyActioner


81
82
83
84
# File 'lib/loris.rb', line 81

def initialize(actioner, stream)
  @actioner = actioner
  @stream = stream
end

Instance Method Details

#runObject


86
87
88
89
90
# File 'lib/loris.rb', line 86

def run
    @actioner.run
    @stream.puts '[Poll complete]'
    @stream.flush
end