From: ts Date: 2002-06-13T13:44:06+09:00 Subject: Re: procs and blocks >>>>> "E" == Evan Martin writes: E> def set_cb_1(&p) E> $cb = p E> end When you write this, this is like if you have written def set_cb_1 p = nil if block_given? p = Proc.new end $cb = p end Guy Decoux