class Puppet::Pops::Types::PCatalogEntryType
Abstract representation of a type that can be placed in a Catalog. @api public
Constants
- DEFAULT
Public Class Methods
register_ptype(loader, ir)
click to toggle source
# File lib/puppet/pops/types/types.rb 3134 def self.register_ptype(loader, ir) 3135 create_ptype(loader, ir, 'AnyType') 3136 end
Public Instance Methods
instance?(o, guard = nil)
click to toggle source
# File lib/puppet/pops/types/types.rb 3140 def instance?(o, guard = nil) 3141 assignable?(TypeCalculator.infer(o), guard) 3142 end
Protected Instance Methods
_assignable?(o, guard)
click to toggle source
@api private
# File lib/puppet/pops/types/types.rb 3146 def _assignable?(o, guard) 3147 o.is_a?(PCatalogEntryType) 3148 end