Method: Docker::Stack.root
- Defined in:
- lib/docker/stack.rb
.root ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/docker/stack.rb', line 33 def root @root ||= begin ((rails? && Rails.root) || Pathname.pwd) rescue NoMethodError Pathname.pwd end end |