On 8/25/06, ts <decoux / moulon.inra.fr> 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
> #<Proc:0x00000000@./b.rb:13>
> 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