Class: TTCluster::BaseCommand

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

Overview

Base class for commands(setup,start,stop,status)

Instance Method Summary collapse

Constructor Details

#initialize(runner) ⇒ BaseCommand

Save runner.



16
17
18
19
# File 'lib/ttcluster/base_command.rb', line 16

def initialize(runner)
  @runner = runner
  @ttbase = @runner.ttbase
end