Ruby blocks gotchas
in Ruby added by admin, on 31/12/2007 blocks intermediate metaprogramming
There's this thing they say about Ruby - everything is an object. It's true, with very few exceptions, one of them being the block. Well guess what, this little gem of an inconsistency came back to bite me when I was trying to do something involving dynamic redefinition of methods.
comment save report- submitted
- Sun, Dec 30th 2007, 19:39
- clicks today
- 0
- clicks this month
- 5
- clicks all time
- 89
