Class: Superbot::CLI::Local::RunCommand
- Inherits:
-
Clamp::Command
- Object
- Clamp::Command
- Superbot::CLI::Local::RunCommand
- Includes:
- Validations
- Defined in:
- lib/superbot/local/cli/local/run_command.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
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 |