From: Austin Ziegler Date: 2006-08-25T20:40:44+09:00 Subject: Re: Support for singleton_class() (was Re: Call functions of superclass) On 8/25/06, ts wrote: > moulon% cat b.rb > #!/usr/bin/ruby > def blah > end > > def foo > blah > blah > my_block = Proc.new if block_given? > p my_block > end > > foo > foo {} > moulon% > > moulon% ./b.rb > nil > # > moulon% Cool. I didn't know that. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca