From: "Eustáquio Rangel" Date: 2009-01-08T10:34:38+09:00 Subject: [ruby-core:21209] Re: Using blocks with Observable Hi! On Wed, Jan 7, 2009 at 5:14 PM, James Coglan wrote: > It would be trivial to implement, and quite often I find a functional > approach to be very useful when writing event-based code. 1.9's addition of > a method name parameter is an improvement, although it encourages the use of > named handlers for every event to observe. If you don't want to patch the file everytime a new version is released, while it's not officially implemented (if it will be), you can use a wrapper like this: http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/35836 Regards!