Class: R10K::Module::Base
- Inherits:
-
Object
- Object
- R10K::Module::Base
- Defined in:
- lib/r10k/module/base.rb
Instance Attribute Summary collapse
-
#basedir ⇒ Object
Returns the value of attribute basedir.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#full_path ⇒ String
The full filesystem path to the module.
Instance Attribute Details
#basedir ⇒ Object
Returns the value of attribute basedir.
4 5 6 |
# File 'lib/r10k/module/base.rb', line 4 def basedir @basedir end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/r10k/module/base.rb', line 4 def name @name end |
Instance Method Details
#full_path ⇒ String
Returns The full filesystem path to the module.
7 8 9 |
# File 'lib/r10k/module/base.rb', line 7 def full_path File.join(@basedir, @name) end |