def hello
i=1
begin
puts "hello"
a=10/0
rescue
if(i<3)
i+=1
retry
end
end
end
hello
puts "end"
ruby retry
最新推荐文章于 2024-09-20 11:13:22 发布
def hello
i=1
begin
puts "hello"
a=10/0
rescue
if(i<3)
i+=1
retry
end
end
end
hello
puts "end"