Class: Puppet::Pops::Loader::Loader::NamedEntry
- Defined in:
- lib/puppet/pops/loader/loader.rb
Overview
An entry for one entity loaded by the loader.
Instance Attribute Summary collapse
- #origin ⇒ Object readonly
- #typed_name ⇒ Object readonly
- #value ⇒ Object readonly
Instance Method Summary collapse
-
#initialize(typed_name, value, origin) ⇒ NamedEntry
constructor
A new instance of NamedEntry.
Constructor Details
#initialize(typed_name, value, origin) ⇒ NamedEntry
Returns a new instance of NamedEntry.
212 213 214 215 216 217 |
# File 'lib/puppet/pops/loader/loader.rb', line 212 def initialize(typed_name, value, origin) @typed_name = typed_name @value = value @origin = origin freeze() end |
Instance Attribute Details
#origin ⇒ Object (readonly)
210 211 212 |
# File 'lib/puppet/pops/loader/loader.rb', line 210 def origin @origin end |
#typed_name ⇒ Object (readonly)
208 209 210 |
# File 'lib/puppet/pops/loader/loader.rb', line 208 def typed_name @typed_name end |
#value ⇒ Object (readonly)
209 210 211 |
# File 'lib/puppet/pops/loader/loader.rb', line 209 def value @value end |