From: ts Date: 2006-08-25T20:31:16+09:00 Subject: Re: Support for singleton_class() (was Re: Call functions of superclass) >>>>> "A" == Austin Ziegler writes: A> def foo A> blah A> blah A> my_block = current_block if block_given? 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% Guy Decoux