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
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 ⇒ Object
5 6 7 |
# File 'lib/rtype/type_signature.rb', line 5 def info {argument_type => return_type} end |