Class: Rtype::TypeSignature
Instance Attribute Summary collapse
-
#argument_type ⇒ Object
Returns the value of attribute argument_type.
-
#return_type ⇒ Object
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#info ⇒ Hash
A type signature.
Instance Attribute Details
#argument_type ⇒ Object
Returns the value of attribute argument_type.
3 4 5 |
# File 'lib/rtype/type_signature.rb', line 3 def argument_type @argument_type end |
#return_type ⇒ Object
Returns the value of attribute return_type.
3 4 5 |
# File 'lib/rtype/type_signature.rb', line 3 def return_type @return_type end |
Instance Method Details
#info ⇒ Hash
Returns A type signature.
6 7 8 |
# File 'lib/rtype/type_signature.rb', line 6 def info {argument_type => return_type} end |