Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
Implicit block parameter?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Dominik Bathon, post: 4499598"] With the patch I sent the outer "it" is not "overwritten" by the inner =20 "it", because it's a global function and not a variable and it always =20 returns the first argument of the current block (if none was given it =20 returns nil). And for the other point: if it gets to complicated, just don't use "it" =20 and declare the argument(s). Dominik [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
Implicit block parameter?
Top