![]() | Ruby 1.9 / 1.8 differences mentioned in episode 7 |
|
05 Jul 2009, 15:13
Robert Pankowecki (1 post) |
Probably it was not true when the episode was created but now you can do the same thing in Ruby 1.8.7 as in Ruby 1.9: method() do |something, &proc| ... end Blocks can take another blocks as arguments. |
| You must be logged in to comment |

