Class: Puppet::Pops::Types::PDefaultType

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

Constant Summary collapse

DEFAULT =
PDefaultType.new

Instance Method Summary collapse

Methods inherited from PAnyType

#==, #accept, #assignable?, #callable?, #callable_args?, #eql?, #generalize, #hash, #iterable?, #iterable_type, #kind_of_callable?, #normalize, #simple_name, #to_alias_expanded_s, #to_s

Methods included from Visitable

#accept

Instance Method Details

#instance?(o) ⇒ Boolean

Returns:

  • (Boolean)


474
475
476
# File 'lib/puppet/pops/types/types.rb', line 474

def instance?(o)
  o == :default
end