Module: EacRubyUtils::Ruby

Defined in:
lib/eac_ruby_utils/ruby.rb,
lib/eac_ruby_utils/ruby/command.rb,
lib/eac_ruby_utils/ruby/on_clean_environment.rb

Defined Under Namespace

Classes: Command

Class Method Summary collapse

Class Method Details

.on_clean_environmentObject

Executes a block in an environment when the variables BUNDLE* and RUBY* are removed.


7
8
9
# File 'lib/eac_ruby_utils/ruby/on_clean_environment.rb', line 7

def on_clean_environment
  on_clean_envvars('BUNDLE', 'RUBY') { yield }
end