Method: PDK::Context::AbstractContext#root_path
- Defined in:
- lib/pdk/context.rb
#root_path ⇒ String
The root of this context, for example the module root when inside a module. This can be different from context_path For example a Module context_path could be /path/to/module/manifests/ but the root_path will be /path/to/module as that is the root of the Module context. Defaults to the context_path if not set.
40 41 42 |
# File 'lib/pdk/context.rb', line 40 def root_path @root_path || @context_path end |