Why does explicit return make a difference in a Proc?
Ruby has three constructs: A block is not an object and is created by { … } or do … end. A proc is a Proc object created by Proc.new or proc. A lambda is a Proc created by lambda (or proc in Ruby 1.8). Ruby has three keywords that return from something: return terminates … Read more