Class: Puppet::Pops::Types::ReturnTypeElement Private
- Inherits:
-
TypePathElement
- Object
- TypePathElement
- Puppet::Pops::Types::ReturnTypeElement
- Defined in:
- lib/puppet/pops/types/type_mismatch_describer.rb
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.
Instance Attribute Summary
Attributes inherited from TypePathElement
Instance Method Summary collapse
-
#initialize(name = 'return') ⇒ ReturnTypeElement
constructor
private
A new instance of ReturnTypeElement.
- #to_s ⇒ Object private
Methods inherited from TypePathElement
Constructor Details
#initialize(name = 'return') ⇒ ReturnTypeElement
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 a new instance of ReturnTypeElement.
56 57 58 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 56 def initialize(name = 'return') super(name) end |
Instance Method Details
#to_s ⇒ 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.
60 61 62 |
# File 'lib/puppet/pops/types/type_mismatch_describer.rb', line 60 def to_s key end |