Class: Puppet::Pops::Loader::StaticLoader
- Inherits:
-
Loader
show all
- Defined in:
- lib/puppet/pops/loader/static_loader.rb
Overview
Static Loader contains constants, basic data types and other types required for the system to boot.
Constant Summary
Constants inherited
from Loader
Loader::LOADABLE_KINDS
Instance Attribute Summary collapse
Instance Method Summary
collapse
Methods inherited from Loader
#[], #load, #loadables, #private_loader, #set_entry
Constructor Details
Returns a new instance of StaticLoader.
7
8
9
10
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 7
def initialize
@loaded = {}
create_logging_functions()
end
|
Instance Attribute Details
6
7
8
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 6
def loaded
@loaded
end
|
Instance Method Details
#find(name) ⇒ Object
20
21
22
23
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 20
def find(name)
nil
end
|
#get_entry(typed_name) ⇒ Object
16
17
18
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 16
def get_entry(typed_name)
load_constant(typed_name)
end
|
#load_typed(typed_name) ⇒ Object
12
13
14
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 12
def load_typed(typed_name)
load_constant(typed_name)
end
|
25
26
27
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 25
def parent
nil
end
|
29
30
31
|
# File 'lib/puppet/pops/loader/static_loader.rb', line 29
def to_s()
"(StaticLoader)"
end
|