Class: Puppet::Pops::Types::PUnitType Private

Inherits:
PAnyType show all
Defined in:
lib/puppet/pops/types/types.rb

Overview

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

A type private to the type system that describes “ignored type” - i.e. “I am what you are”

Constant Summary collapse

DEFAULT =

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

PUnitType.new

Instance Method Summary collapse

Methods inherited from PAnyType

#==, #assignable?, #callable?, #callable_args?, #enumerable?, #generalize, #hash, #kind_of_callable?, #simple_name, #to_s

Methods included from Visitable

#accept

Instance Method Details

#instance?(o) ⇒ Boolean

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:

  • (Boolean)


287
288
289
# File 'lib/puppet/pops/types/types.rb', line 287

def instance?(o)
  true
end