Class: Method
Instance Method Summary collapse
- #argument_type ⇒ Object
- #return_type ⇒ Object
- #type_info ⇒ Object
- #type_signature ⇒ Object
- #typed? ⇒ Boolean
Instance Method Details
#argument_type ⇒ Object
77 78 79 |
# File 'lib/rtype/core_ext.rb', line 77 def argument_type ::Rtype.type_signatures[owner][name].argument_type end |
#return_type ⇒ Object
81 82 83 |
# File 'lib/rtype/core_ext.rb', line 81 def return_type ::Rtype.type_signatures[owner][name].return_type end |
#type_info ⇒ Object
73 74 75 |
# File 'lib/rtype/core_ext.rb', line 73 def type_info ::Rtype.type_signatures[owner][name].info end |
#type_signature ⇒ Object
69 70 71 |
# File 'lib/rtype/core_ext.rb', line 69 def type_signature ::Rtype.type_signatures[owner][name] end |
#typed? ⇒ Boolean
65 66 67 |
# File 'lib/rtype/core_ext.rb', line 65 def typed? !!::Rtype.type_signatures[owner][name] end |