Sha256: c964dfbe34aa28ef1c3d8eac7acfd32bad7d92a35542473106a73d2eb00440bd
Contents?: true
Size: 657 Bytes
Versions: 23
Compression:
Stored size: 657 Bytes
Contents
# frozen_string_literal: true require 'avm/eac_rails_base1/runner_with/bundle' require 'eac_cli/core_ext' require 'eac_ruby_utils/console/docopt_runner' module Avm module EacRailsBase1 class Runner < ::Avm::EacWebappBase0::Runner class CodeRunner runner_with :help, ::Avm::EacRailsBase1::RunnerWith::Bundle do desc 'Runs a Ruby code with "rails runner".' pos_arg :code end def run infov 'Environment', runner_context.call(:instance).host_env bundle_run end def bundle_args %w[exec rails runner] + [parsed.code] end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems