Method: Puppet::Pops::Lookup.debug_preamble
- Defined in:
- lib/puppet/pops/lookup.rb
.debug_preamble(names) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
71 72 73 74 75 76 77 78 |
# File 'lib/puppet/pops/lookup.rb', line 71 def self.debug_preamble(names) if names.size == 1 names = "'#{names[0]}'" else names = names.map { |n| "'#{n}'" }.join(', ') end "Lookup of #{names}" end |