class Puppet::Pops::Types::PDefaultType
@api public
Constants
- DEFAULT
Public Class Methods
register_ptype(loader, ir)
click to toggle source
# File lib/puppet/pops/types/types.rb 670 def self.register_ptype(loader, ir) 671 create_ptype(loader, ir, 'AnyType') 672 end
Public Instance Methods
instance?(o, guard = nil)
click to toggle source
# File lib/puppet/pops/types/types.rb 674 def instance?(o, guard = nil) 675 # Ensure that Symbol.== is called here instead of something unknown 676 # that is implemented on o 677 :default == o 678 end
Protected Instance Methods
_assignable?(o, guard)
click to toggle source
@api private
# File lib/puppet/pops/types/types.rb 684 def _assignable?(o, guard) 685 o.is_a?(PDefaultType) 686 end