Module: Dapp::Application::Path
- Included in:
- Dapp::Application
- Defined in:
- lib/dapp/application/path.rb
Overview
Path
Instance Method Summary collapse
- #build_cache_path(*path) ⇒ Object
- #build_path(*path) ⇒ Object
- #container_build_path(*path) ⇒ Object
- #home_path(*path) ⇒ Object
Instance Method Details
#build_cache_path(*path) ⇒ Object
14 15 16 |
# File 'lib/dapp/application/path.rb', line 14 def build_cache_path(*path) make_path(@build_cache_path, *path)..tap { |p| FileUtils.mkdir_p p.parent } end |
#build_path(*path) ⇒ Object
10 11 12 |
# File 'lib/dapp/application/path.rb', line 10 def build_path(*path) make_path(@build_path, *path)..tap { |p| FileUtils.mkdir_p p.parent } end |
#container_build_path(*path) ⇒ Object
18 19 20 |
# File 'lib/dapp/application/path.rb', line 18 def container_build_path(*path) make_path('/.build', *path) end |
#home_path(*path) ⇒ Object
6 7 8 |
# File 'lib/dapp/application/path.rb', line 6 def home_path(*path) make_path(config._home_path, *path). end |