Method: Puppet::Pops::Loader::PredefinedLoader#allow_shadowing?

Defined in:
lib/puppet/pops/loader/predefined_loader.rb

#allow_shadowing?Boolean

Allows shadowing since this loader is used internally for things like function local types And they should win as there is otherwise a risk that the local types clash with built in types that were added after the function was written, or by resource types loaded by the 3x auto loader.

Returns:

  • (Boolean)


19
20
21
# File 'lib/puppet/pops/loader/predefined_loader.rb', line 19

def allow_shadowing?
  true
end