Hi,

In message "Re: blocks, scope/context confusion"
    on Sat, 11 Jun 2005 10:55:44 +0900, "Corey" <corey_s / qwest.net> writes:

|Why does the following cause an exception?
|
|meth { return 99 }

Because "return 99" at the toplevel causes an exception as well.
Try

  def foo
    meth1 { return 99 }
  end
  p foo

							matz.