Method: Puppet.lookup

Defined in:
lib/puppet.rb

.lookup(name, &block) ⇒ 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.

Lookup a binding by name or return a default value provided by a passed block (if given).



255
256
257
# File 'lib/puppet.rb', line 255

def self.lookup(name, &block)
  @context.lookup(name, &block)
end