class EacRubyUtils::Ruby::Command

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

Public Class Methods

new(bundle_args, extra_options = {}) click to toggle source
Calls superclass method EacRubyUtils::Envs::Command::new
# 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

Protected Instance Methods

duplicate(command, extra_options) click to toggle source
# File lib/eac_ruby_utils/ruby/command.rb, line 27
def duplicate(command, extra_options)
  self.class.new(gem, command, extra_options)
end