Class: Puppet::Pops::Binder::Producers::AbstractValueProducer Abstract
- Defined in:
- lib/puppet/pops/binder/producers.rb
Overview
This class is abstract.
Abstract Producer holding a value
Direct Known Subclasses
Instance Attribute Summary collapse
- #value ⇒ Object readonly
Attributes inherited from Producer
Instance Method Summary collapse
-
#initialize(injector, binding, scope, options) ⇒ AbstractValueProducer
constructor
A new instance of AbstractValueProducer.
Methods inherited from Producer
Constructor Details
#initialize(injector, binding, scope, options) ⇒ AbstractValueProducer
Returns a new instance of AbstractValueProducer.
135 136 137 138 139 |
# File 'lib/puppet/pops/binder/producers.rb', line 135 def initialize(injector, binding, scope, ) super # nil is ok here, as an abstract value producer may be used to signal "not found" @value = [:value] end |
Instance Attribute Details
#value ⇒ Object (readonly)
126 127 128 |
# File 'lib/puppet/pops/binder/producers.rb', line 126 def value @value end |