Class: Method
- Inherits:
-
Object
- Object
- Method
- Defined in:
- lib/rtype/core_ext.rb
Instance Method Summary collapse
- #argument_type ⇒ Object
- #return_type ⇒ Object
- #type_info ⇒ Object
- #type_signature ⇒ Object
- #typed? ⇒ Boolean
Instance Method Details
#argument_type ⇒ Object
54 55 56 |
# File 'lib/rtype/core_ext.rb', line 54 def argument_type ::Rtype.type_signatures[owner][name].argument_type end |
#return_type ⇒ Object
58 59 60 |
# File 'lib/rtype/core_ext.rb', line 58 def return_type ::Rtype.type_signatures[owner][name].return_type end |
#type_info ⇒ Object
50 51 52 |
# File 'lib/rtype/core_ext.rb', line 50 def type_info ::Rtype.type_signatures[owner][name].info end |
#type_signature ⇒ Object
46 47 48 |
# File 'lib/rtype/core_ext.rb', line 46 def type_signature ::Rtype.type_signatures[owner][name] end |
#typed? ⇒ Boolean
42 43 44 |
# File 'lib/rtype/core_ext.rb', line 42 def typed? !!::Rtype.type_signatures[owner][name] end |