Class: SublInit::Project::RVM::Gemset
- Inherits:
-
Object
- Object
- SublInit::Project::RVM::Gemset
- Defined in:
- lib/sublinit/project/rvm/gemset.rb
Instance Attribute Summary collapse
-
#gemset_name ⇒ Object
readonly
Returns the value of attribute gemset_name.
-
#ruby_version ⇒ Object
readonly
Returns the value of attribute ruby_version.
Instance Method Summary collapse
-
#initialize(ruby_version, gemset_name) ⇒ Gemset
constructor
A new instance of Gemset.
- #path ⇒ Object
Constructor Details
#initialize(ruby_version, gemset_name) ⇒ Gemset
Returns a new instance of Gemset.
9 10 11 12 |
# File 'lib/sublinit/project/rvm/gemset.rb', line 9 def initialize(ruby_version, gemset_name) @ruby_version = ruby_version @gemset_name = gemset_name end |
Instance Attribute Details
#gemset_name ⇒ Object (readonly)
Returns the value of attribute gemset_name.
7 8 9 |
# File 'lib/sublinit/project/rvm/gemset.rb', line 7 def gemset_name @gemset_name end |
#ruby_version ⇒ Object (readonly)
Returns the value of attribute ruby_version.
7 8 9 |
# File 'lib/sublinit/project/rvm/gemset.rb', line 7 def ruby_version @ruby_version end |
Instance Method Details
#path ⇒ Object
14 15 16 |
# File 'lib/sublinit/project/rvm/gemset.rb', line 14 def path File.join('~', '.rvm', 'gems', ruby_installation_name, 'gems') end |