Class: Loris::CLI::Main::DummyActioner
- Inherits:
-
Object
- Object
- Loris::CLI::Main::DummyActioner
- Defined in:
- lib/loris.rb
Instance Method Summary collapse
-
#initialize(actioner, stream) ⇒ DummyActioner
constructor
A new instance of DummyActioner.
- #run ⇒ Object
Constructor Details
#initialize(actioner, stream) ⇒ DummyActioner
Returns a new instance of DummyActioner.
81 82 83 84 |
# File 'lib/loris.rb', line 81 def initialize(actioner, stream) @actioner = actioner @stream = stream end |
Instance Method Details
#run ⇒ Object
86 87 88 89 90 |
# File 'lib/loris.rb', line 86 def run @actioner.run @stream.puts '[Poll complete]' @stream.flush end |