Class: Cuken::Api::Rvm::RvmHelper
- Inherits:
-
Object
- Object
- Cuken::Api::Rvm::RvmHelper
- Defined in:
- lib/cuken/api/rvm.rb
Instance Attribute Summary collapse
-
#environment(gemset, options = {}) {|@environment| ... } ⇒ Object
readonly
Returns the value of attribute environment.
Instance Method Summary collapse
Instance Attribute Details
#environment(gemset, options = {}) {|@environment| ... } ⇒ Object (readonly)
Returns the value of attribute environment.
16 17 18 |
# File 'lib/cuken/api/rvm.rb', line 16 def environment @environment end |
Instance Method Details
#current ⇒ Object
22 23 24 |
# File 'lib/cuken/api/rvm.rb', line 22 def current @current = RVM.current end |
#environment_name ⇒ Object
26 27 28 |
# File 'lib/cuken/api/rvm.rb', line 26 def environment_name current.environment_name end |
#gemset ⇒ Object
30 31 32 |
# File 'lib/cuken/api/rvm.rb', line 30 def gemset current.gemset end |
#init ⇒ Object
18 19 20 |
# File 'lib/cuken/api/rvm.rb', line 18 def init RVM::Environment end |