From: "Marvin Gülker" Date: 2009-10-23T07:02:11+09:00 Subject: Wrong statement in Ruby 1.9 keyword doc on ruby-doc.org Hello, I've found there's a mistake in the keyword documentation for Ruby 1.9 on ruby-doc.org. For "return" one code example is: def three return 3 ensure puts "Enjoy the 3!" end a = 3 # Enjoy the 3! #<=====WRONG puts a # 3 where the marked line does not show "Enjoy the 3!". I think that line has to be a = three . Btw., you can pass an argument to the "next" keyword: irb(main):001:0> ary = [1, 2, 3] => [1, 2, 3] irb(main):002:0> ary1 = ary.map{|x| next;x + 1} => [nil, nil, nil] irb(main):003:0> ary2 = ary.map{|x| next(95);x + 1} => [95, 95, 95] irb(main):004:0> Marvin -- Posted via http://www.ruby-forum.com/.