Class: EacRubyUtils::Ruby::Command
- Inherits:
-
Envs::Command
- Object
- Envs::Command
- EacRubyUtils::Ruby::Command
- 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
-
#initialize(bundle_args, extra_options = {}) ⇒ Command
constructor
A new instance of Command.
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, = {}) host_env = .delete(:host_env) super(host_env || ::EacRubyUtils::Envs.local, bundle_args, ) end |