Class: R10K::Module::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/r10k/module/base.rb

Direct Known Subclasses

Forge, Git, SVN

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#basedirObject

Returns the value of attribute basedir.



4
5
6
# File 'lib/r10k/module/base.rb', line 4

def basedir
  @basedir
end

#nameObject

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_pathString

Returns The full filesystem path to the module.

Returns:

  • (String)

    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