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, #args, #command, #execute, #execute!, #prepend, #spawn, #system, #system!, #to_s
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 |