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


202
203
204
205
206
207
# File 'lib/puppet/pops/loader/loader.rb', line 202

def initialize(typed_name, value, origin)
  @typed_name = typed_name
  @value = value
  @origin = origin
  freeze()
end

Instance Attribute Details

#originObject (readonly)


200
201
202
# File 'lib/puppet/pops/loader/loader.rb', line 200

def origin
  @origin
end

#typed_nameObject (readonly)


198
199
200
# File 'lib/puppet/pops/loader/loader.rb', line 198

def typed_name
  @typed_name
end

#valueObject (readonly)


199
200
201
# File 'lib/puppet/pops/loader/loader.rb', line 199

def value
  @value
end