Class: EacRubyUtils::Ruby::Command

Inherits:
Envs::Command show all
Defined in:
lib/eac_ruby_utils/ruby/command.rb

Overview

A [EacRubyUtils::Envs::Command] which runs in a clean Ruby environment.

Instance Method Summary collapse

Methods inherited from Envs::Command

#append, #command_line_without_env, #prepend, sanitize_initialize_arguments, #to_s

Methods included from Envs::BaseCommand

#command, #command_line_without_env, #env

Constructor Details

#initialize(bundle_args, extra_options = {}) ⇒ Command

Returns a new instance of Command.



10
11
12
13
# File 'lib/eac_ruby_utils/ruby/command.rb', line 10

def initialize(bundle_args, extra_options = {})
  host_env = extra_options.delete(:host_env)
  super(host_env || ::EacRubyUtils::Envs.local, bundle_args, extra_options)
end