Sha256: 395c4a5553b0c4c5df751efa30fb6355fa6999261ed37c7a84d646cba3a0f7f5
Contents?: true
Size: 313 Bytes
Versions: 14
Compression:
Stored size: 313 Bytes
Contents
def foo3(arg) arg = arg + 3 puts arg arg = arg/0 if arg > 10 rescue puts "r3" end def foo2(arg) arg = arg + 2 foo3(arg) puts arg rescue puts "r2" end def foo1(arg) arg = arg + 1 foo2(arg) puts arg rescue puts "r1" end foo1(0) foo2(10) puts "done"
Version data entries
14 entries across 14 versions & 1 rubygems