Class: Superbot::CLI::Local::RunCommand

Inherits:
Clamp::Command
  • Object
show all
Includes:
Validations
Defined in:
lib/superbot/local/cli/local/run_command.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



13
14
15
16
# File 'lib/superbot/local/cli/local/run_command.rb', line 13

def execute
  script = File.read(File.join(path, 'main.rb'))
  Superbot::Capybara::Runner.run(script)
end