Module: AppDirectory
- Extended by:
- AppDirectory
- Included in:
- AppDirectory
- Defined in:
- lib/negroku/helpers/app_directory.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
6 7 8 |
# File 'lib/negroku/helpers/app_directory.rb', line 6 def config @config ||= Pathname.new('config') end |
#deploy ⇒ Object
14 15 16 |
# File 'lib/negroku/helpers/app_directory.rb', line 14 def deploy config.join('deploy') end |
#root ⇒ Object
10 11 12 |
# File 'lib/negroku/helpers/app_directory.rb', line 10 def root @root ||= Pathname.new('') end |
#tasks ⇒ Object
18 19 20 |
# File 'lib/negroku/helpers/app_directory.rb', line 18 def tasks @tasks ||= Pathname.new('lib/capistrano/tasks') end |