Roman K9 ha scritto:


people already answered that you should be little more specific and 
probably you'd find answers only in the source.
I wonder why you want to know that, anyway :)

And, ruby does not have GOTOs but we have callcc, so we can emulate:

def goto(cont)
   cont.call(cont)
end

puts "start"
label = callcc{|k| k}
puts "loopy"
goto label
raise "explode!!!"