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.
Constant Summary
Constants included from Console::Speaker
Console::Speaker::STDERR, Console::Speaker::STDIN, Console::Speaker::STDOUT
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
Methods included from Envs::Command::ExtraOptions
#chdir, #envvar, #pipe, #status_result
Methods included from Console::Speaker
current_node, #fatal_error, #info, #infom, #infov, on_node, #on_speaker_node, #out, pop, push, #puts, #request_input, #success, #title, #warn
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 |