Class: Puppet::Pops::Types::PObjectType::PTypeParameter
- Inherits:
-
PAttribute
- Object
- PAnnotatedMember
- PAttribute
- Puppet::Pops::Types::PObjectType::PTypeParameter
- Defined in:
- lib/puppet/pops/types/p_object_type.rb
Constant Summary
Constants included from Annotatable
Instance Attribute Summary
Attributes inherited from PAttribute
Attributes inherited from PAnnotatedMember
Class Method Summary collapse
- .feature_type ⇒ Object private
Instance Method Summary collapse
-
#_pcore_init_hash ⇒ Hash{String=>Object}
private
The hash.
Methods inherited from PAttribute
#callable_type, #constant?, #default_value?, #eql?, #initialize, #value, #value?
Methods inherited from PAnnotatedMember
#==, #accept, #assert_can_be_overridden, #assert_override, #constant?, #create_dispatch, #eql?, #feature_type, #final?, #hash, #initialize, #invoke, label, #label, #override?
Methods included from InvocableMember
Methods included from Annotatable
#annotatable_accept, #annotations, #init_annotatable
Constructor Details
This class inherits a constructor from Puppet::Pops::Types::PObjectType::PAttribute
Class Method Details
.feature_type ⇒ Object
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.
392 393 394 |
# File 'lib/puppet/pops/types/p_object_type.rb', line 392 def self.feature_type 'type_parameter' end |
Instance Method Details
#_pcore_init_hash ⇒ Hash{String=>Object}
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 the hash.
384 385 386 387 388 389 |
# File 'lib/puppet/pops/types/p_object_type.rb', line 384 def _pcore_init_hash hash = super hash[KEY_TYPE] = hash[KEY_TYPE].type hash.delete(KEY_VALUE) if hash.include?(KEY_VALUE) && hash[KEY_VALUE].nil? hash end |