Module: Puppet::Pops::Resource

Defined in:
lib/puppet/pops.rb,
lib/puppet/pops/resource/param.rb,
lib/puppet/pops/resource/resource_type_impl.rb

Defined Under Namespace

Classes: Param, ResourceTypeImpl

Class Method Summary collapse

Class Method Details

.register_ptypes(loader, ir) ⇒ Object



6
7
8
9
10
11
# File 'lib/puppet/pops/resource/resource_type_impl.rb', line 6

def self.register_ptypes(loader, ir)
  types = [Param, ResourceTypeImpl].map do |c|
    c.register_ptype(loader, ir)
  end
  types.each {|t| t.resolve(loader) }
end