Module: RVM::Shell
- Defined in:
- lib/rvm/shell.rb,
lib/rvm/shell/result.rb,
lib/rvm/shell/utility.rb,
lib/rvm/shell/abstract_wrapper.rb,
lib/rvm/shell/single_shot_wrapper.rb
Overview
Provides Generic access to a more ruby-like shell interface. For more details, see AbstractWrapper.
Defined Under Namespace
Modules: Utility Classes: AbstractWrapper, Result, SingleShotWrapper
Class Method Summary collapse
-
.default_wrapper ⇒ Object
Returns the default shell wrapper class to use.
-
.default_wrapper=(wrapper) ⇒ Object
Sets the default shell wrapper class to use.
Class Method Details
.default_wrapper ⇒ Object
Returns the default shell wrapper class to use
15 16 17 |
# File 'lib/rvm/shell.rb', line 15 def self.default_wrapper @@default_wrapper ||= SingleShotWrapper end |
.default_wrapper=(wrapper) ⇒ Object
Sets the default shell wrapper class to use.
20 21 22 |
# File 'lib/rvm/shell.rb', line 20 def self.default_wrapper=(wrapper) @@default_wrapper = wrapper end |