Class: Avm::EacRailsBase1::Runner::CodeRunner

Inherits:
EacRubyUtils::Console::DocoptRunner
  • Object
show all
Defined in:
lib/avm/eac_rails_base1/runner/code_runner.rb

Instance Method Summary collapse

Instance Method Details

#bundle_argsObject



22
23
24
# File 'lib/avm/eac_rails_base1/runner/code_runner.rb', line 22

def bundle_args
  %w[exec rails runner] + [options.fetch('<code>')]
end

#runObject



17
18
19
20
# File 'lib/avm/eac_rails_base1/runner/code_runner.rb', line 17

def run
  infov 'Environment', context(:instance).host_env
  bundle_run
end