class Puppet::Pops::Loader::StaticLoader

Static Loader contains constants, basic data types and other types required for the system to boot.

Attributes

loaded[R]

Public Instance Methods

find(name) click to toggle source
# File lib/puppet/pops/loader/static_loader.rb, line 20
def find(name)
  # There is nothing to search for, everything this loader knows about is already available
  nil
end
get_entry(typed_name) click to toggle source
# File lib/puppet/pops/loader/static_loader.rb, line 16
def get_entry(typed_name)
  load_constant(typed_name)
end
load_typed(typed_name) click to toggle source
# File lib/puppet/pops/loader/static_loader.rb, line 12
def load_typed(typed_name)
  load_constant(typed_name)
end
parent() click to toggle source
# File lib/puppet/pops/loader/static_loader.rb, line 25
def parent
  nil # at top of the hierarchy
end
to_s() click to toggle source
# File lib/puppet/pops/loader/static_loader.rb, line 29
def to_s()
  "(StaticLoader)"
end

Public Class Methods

new() click to toggle source
# File lib/puppet/pops/loader/static_loader.rb, line 7
def initialize
  @loaded = {}
  create_logging_functions()
end