methods/case/early_exit.rb

tests/_examples/methods/case/early_exit.rb in the metorex repository.

def test
  puts "A"
  x = 1
  case x
  when 1
    puts "match"
  end
  puts "after"
end

test()