class Puppet::Pops::Binder::BindingsFactory::AbstractBuilder

Abstract base class for bindings object builders. Supports delegation of method calls to the BindingsFactory class methods for all methods not implemented by a concrete builder.

@abstract

Attributes

model[R]

The built model object.

Public Instance Methods

method_missing(meth, *args, &block) click to toggle source

Provides convenient access to the Bindings Factory class methods. The intent is to provide access to the methods that return producers for the purpose of composing more elaborate things than the builder convenience methods support directly. @api private

# File lib/puppet/pops/binder/bindings_factory.rb, line 115
def method_missing(meth, *args, &block)
  factory = Puppet::Pops::Binder::BindingsFactory
  if factory.respond_to?(meth)
    factory.send(meth, *args, &block)
  else
    super
  end
end

Public Class Methods

new(binding) click to toggle source

@param binding [Puppet::Pops::Binder::Bindings::AbstractBinding] The binding to build. @api public

# File lib/puppet/pops/binder/bindings_factory.rb, line 106
def initialize(binding)
  @model = binding
end