Class: Puppet::Pops::Loader::Loader::NamedEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/puppet/pops/loader/loader.rb

Overview

An entry for one entity loaded by the loader.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#originObject (readonly)



210
211
212
# File 'lib/puppet/pops/loader/loader.rb', line 210

def origin
  @origin
end

#typed_nameObject (readonly)



208
209
210
# File 'lib/puppet/pops/loader/loader.rb', line 208

def typed_name
  @typed_name
end

#valueObject (readonly)



209
210
211
# File 'lib/puppet/pops/loader/loader.rb', line 209

def value
  @value
end