Module: EacRubyUtils::Ruby
- Defined in:
- lib/eac_ruby_utils/ruby.rb,
lib/eac_ruby_utils/ruby/command.rb,
lib/eac_ruby_utils/ruby/on_replace_objects.rb,
lib/eac_ruby_utils/ruby/on_clean_environment.rb,
lib/eac_ruby_utils/ruby/on_replace_objects/replace_instance_method.rb
Defined Under Namespace
Classes: Command, OnCleanEnvironment, OnReplaceObjects
Class Method Summary collapse
-
.on_clean_environment(&block) ⇒ Object
Executes a block in an environment when the variables BUNDLE* and RUBY* are removed.
- .on_replace_objects ⇒ Object
Class Method Details
.on_clean_environment(&block) ⇒ Object
Executes a block in an environment when the variables BUNDLE* and RUBY* are removed.
10 11 12 |
# File 'lib/eac_ruby_utils/ruby/on_clean_environment.rb', line 10 def on_clean_environment(&block) OnCleanEnvironment.new(&block).perform end |
.on_replace_objects ⇒ Object
9 10 11 12 13 14 |
# File 'lib/eac_ruby_utils/ruby/on_replace_objects.rb', line 9 def on_replace_objects replacer = OnReplaceObjects.new replacer.on_replacement do yield(replacer) end end |