block = Proc.new do |x| puts x break if x == 3 puts x + 2endblock.call(5)# 5# 7block.call(3)# 3# LocalJumpError: break from proc-closure