From: matz@... (Yukihiro Matsumoto) Date: 2000-12-28T08:11:21+09:00 Subject: [ruby-talk:8147] Re: Method as block to method Hi, In message "[ruby-talk:8122] Method as block to method" on 00/12/28, "Nathaniel Talbott" writes: |I find myself wanting to pass a method as the block to another method on a |fairly regular basis, and I don't really like how the code turns out. |Currently it looks like this: | | result.addFaultListener(self, &(method(:addFault).to_proc)) How about the following? result.addFaultListener(self, &method(:addFault)) It's slightly better, I think. matz.