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, #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, extra_options = {})
  host_env = extra_options.delete(:host_env)
  super(host_env || ::EacRubyUtils::Envs.local, bundle_args, extra_options)
end