Passing Blocks in Ruby Without &block
mudge.github.com
Passing Blocks in Ruby Without &block
1–5 of 5 posts
Re: Passing Blocks in Ruby Without &block
#2Re: Passing Blocks in Ruby Without &block
#3Re: Passing Blocks in Ruby Without &block
#4These are really cool and understanding how magic is implemented is great, but when you are searching for the "tell_ape" method for 10 mins only to realize that method_missing is doing the magic, it really is a bit of a piss off. If you are going to do these tricks please for the nonwizard ruby coders out there make it blatantly obvious in your README or comments or tests.
Re: Passing Blocks in Ruby Without &block
#5These are really cool and understanding how magic is implemented is great, but when you are searching for the "tell_ape" method for 10 mins only to realize that method_missing is doing the magic, it really is a bit of a piss off. If you are going to do these tricks please for the nonwizard ruby coders out there make it blatantly obvious in your README or comments or tests.
This is a fair criticism: I've now updated the examples so they don't involve method_missing so as to not needlessly complicate the issue.