Method: Puppet::Pops::Types::PNotUndefType#initialize

Defined in:
lib/puppet/pops/types/types.rb

#initialize(type = nil) ⇒ PNotUndefType

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of PNotUndefType.



559
560
561
# File 'lib/puppet/pops/types/types.rb', line 559

def initialize(type = nil)
  super(type.instance_of?(PAnyType) ? nil : type)
end