Module: DrushDeploy::Paths
- Defined in:
- lib/drush_deploy/paths.rb
Class Method Summary collapse
Class Method Details
.bin(path = '') ⇒ Object
7 8 9 |
# File 'lib/drush_deploy/paths.rb', line 7 def self.bin(path = '') root('bin/' + path) end |
.lib(path = '') ⇒ Object
11 12 13 |
# File 'lib/drush_deploy/paths.rb', line 11 def self.lib(path = '') root('lib/' + path) end |
.recipe(path) ⇒ Object
15 16 17 |
# File 'lib/drush_deploy/paths.rb', line 15 def self.recipe(path) root('lib/drush_deploy/recipes/' + path + '.rb') end |
.root(path = '') ⇒ Object
3 4 5 |
# File 'lib/drush_deploy/paths.rb', line 3 def self.root(path = '') File.('../../../' + path,__FILE__) end |