Method: PDK::Config::Namespace#include_in_parent?

Defined in:
lib/pdk/config/namespace.rb

#include_in_parent?Boolean

Determines if the contents of the namespace should be included in the parent namespace when persisting to disk.

If the namespace has been mounted into a parent namespace and is not associated with its own file on disk, then the values in the namespace should be included in the parent namespace when persisting to disk.

Returns:

  • (Boolean)

    true if the values should be included in the parent namespace.



202
203
204
# File 'lib/pdk/config/namespace.rb', line 202

def include_in_parent?
  child_namespace? && file.nil?
end