Class: Puppet::Pops::Types::PBooleanType
- Inherits:
-
PScalarType
- Object
- TypedModelObject
- PAnyType
- PScalarType
- Puppet::Pops::Types::PBooleanType
- Defined in:
- lib/puppet/pops/types/types.rb
Constant Summary collapse
- DEFAULT =
PBooleanType.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
Instance Method Details
#instance?(o) ⇒ Boolean
775 776 777 |
# File 'lib/puppet/pops/types/types.rb', line 775 def instance?(o) o == true || o == false end |