David A. Black <dblack / rubypal.com> wrote:

> Hi --
> 
> I've put together some RDoc-style documentation for the Ruby keywords.
> It's at http://www.wobblini.net/keywords.

Not true that rescue "Must occur either inside a begin<code>/<code>end
block or a method definition (which implies begin)."

Counterexample:

puts "first line"
raise "oops" rescue puts "no problem"
puts "last line"

Or has this changed in 1.9? I focus on rescue because discovering this
single-expression version of rescue is not easy for beginners. m.