Class: Avm::EacRailsBase1::Instances::Runners::CodeRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/eac_rails_base1/instances/runners/code_runner.rb

Instance Method Summary collapse

Instance Method Details

#bundle_argsObject



21
22
23
# File 'lib/avm/eac_rails_base1/instances/runners/code_runner.rb', line 21

def bundle_args
  %w[exec rails runner] + [parsed.code]
end

#runObject



16
17
18
19
# File 'lib/avm/eac_rails_base1/instances/runners/code_runner.rb', line 16

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