F
Ferenc Engard
Hello,
How can I return a value from a block? "return" immediately returns from
the caller method, "break" bypasses the called method (which yielded the
block).
I have read something about this, but cannot remember where. I know the
syntax changed between 1.6.8 and 1.8.
Ferenc
How can I return a value from a block? "return" immediately returns from
the caller method, "break" bypasses the called method (which yielded the
block).
I have read something about this, but cannot remember where. I know the
syntax changed between 1.6.8 and 1.8.
Ferenc