Are these things really the same?
require "Continuation" callcc do | ret | (1..10).each do | i | ret i end endThis replicates the SmallTalk behavior. So, they are the same thing, but with different concepts of return. See CallCc.
See also SmalltalkBlocksAndClosures, BlocksInRuby, BlocksInManyLanguages