@elight and @halostatue took me to school, I have to write http://rubyfiddle.com/riddles/d47dd 100x and a blog post as homework.
-
-
Replying to @raganwald
@raganwald@halostatue Oh, ok, now I get it. “unexpected return” wtf?2 replies 0 retweets 0 likes -
Replying to @elight
@elight you can only have return lexically enclosed in a method.@raganwald@halostatue1 reply 0 retweets 0 likes -
Replying to @wycats
@wycats@elight@halostatue Suit yourself: http://rubyfiddle.com/riddles/7d568/11 reply 0 retweets 0 likes -
Replying to @raganwald
@raganwald Not sure what you're trying to say...@elight@halostatue2 replies 0 retweets 0 likes -
Replying to @wycats
@wycats It was part of a discussion about block/lambda distinctions see http://rubyfiddle.com/riddles/417f5/1 vs@raganwald’s original fiddle@elight3 replies 0 retweets 0 likes -
Replying to @halostatue2 replies 0 retweets 0 likes
-
Replying to @wycats
@wycats why next rather than break? I’ve been using break with blocks to Pathname#ascend, for example@raganwald@elight2 replies 0 retweets 0 likes
@halostatue break also early-returns from the invoking function. See http://rubyfiddle.com/riddles/d47dd @raganwald @elight
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.