This post originated from an RSS feed registered with Ruby Buzz
by Vincent Foley.
Original Post: Ruby 2.0 and blocks
Feed Title: Uncentered Mind
Feed URL: https://gnuvince.wordpress.com/feed/?cat=2
Feed Description: I ramble, you call me names, we have fun!
There’s a thread over on ruby-talk that talks about a new syntax for blocks that will be available in 2.0.
The first thing that I was hapy to read was this message by matz: “Don’t worry. Â The block syntax will not be changed. Â Never.” That means that using blocks the way I’ve been doing it [...]