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 669 def self.register_ptype(loader, ir) 670 create_ptype(loader, ir, 'AnyType') 671 end
Public Instance Methods
instance?(o, guard = nil)
click to toggle source
# File lib/puppet/pops/types/types.rb 673 def instance?(o, guard = nil) 674 # Ensure that Symbol.== is called here instead of something unknown 675 # that is implemented on o 676 :default == o 677 end
Protected Instance Methods
_assignable?(o, guard)
click to toggle source
@api private
# File lib/puppet/pops/types/types.rb 683 def _assignable?(o, guard) 684 o.is_a?(PDefaultType) 685 end