Class: StartGate

Inherits:
Thor::Group
  • Object
show all
Includes:
Thor::Actions
Defined in:
lib/gates/start_gate.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.source_rootObject



6
7
8
# File 'lib/gates/start_gate.rb', line 6

def self.source_root
  File.dirname(__FILE__)
end

Instance Method Details

#start_gateObject



10
11
12
# File 'lib/gates/start_gate.rb', line 10

def start_gate
  Kernel.exec("bundle exec ruby -e \"require 'byld/gate/server'\"")
end