Class: C::Return
- Inherits:
-
Object
- Object
- C::Return
- Defined in:
- lib/csquare.rb
Instance Method Summary collapse
-
#return_typename(function, blueprint = nil) ⇒ Object
This is not what you think it is.
Instance Method Details
#return_typename(function, blueprint = nil) ⇒ Object
This is not what you think it is. This function gives the typename that the statement would return if you set some variable equal to it. e.g., here, x = return false;
This is an invalid statement, so the return_typename for a return statement is nil.
694 695 696 |
# File 'lib/csquare.rb', line 694 def return_typename function, blueprint=nil nil end |