Class: Tinet::Command::Base

Inherits:
Object
  • Object
show all
Includes:
Shell
Defined in:
lib/tinet/command/base.rb

Direct Known Subclasses

Build, Conf, Down, Exec, Init, Ps, Pull, Up

Instance Method Summary collapse

Methods included from Shell

#sudo

Constructor Details

#initialize(options = {}) ⇒ Base

Returns a new instance of Base.



10
11
12
13
14
# File 'lib/tinet/command/base.rb', line 10

def initialize(options = {})
  @options = options
  check_docker_installed unless dry_run
  check_ovs_vsctl_installed unless dry_run
end