Method: R10K::Source::Base#initialize
- Defined in:
- lib/r10k/source/base.rb
#initialize(name, basedir, options = {}) ⇒ Base
Initialize the given source.
29 30 31 32 33 34 |
# File 'lib/r10k/source/base.rb', line 29 def initialize(name, basedir, = {}) @name = name @basedir = Pathname.new(basedir).cleanpath.to_s @prefix = .delete(:prefix) @options = end |