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.
133 134 135 136 137 |
# File 'lib/puppet/pops/binder/producers.rb', line 133 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)
124 125 126 |
# File 'lib/puppet/pops/binder/producers.rb', line 124 def value @value end |