Method: Puppet::Pops::Types::PAnyType.create

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

.create(*args) ⇒ Object



81
82
83
84
# File 'lib/puppet/pops/types/types.rb', line 81

def self.create(*args)
  # NOTE! Important to use self::DEFAULT and not just DEFAULT since the latter yields PAnyType::DEFAULT
  args.empty? ? self::DEFAULT : new(*args)
end