1
1
mirror of https://github.com/github/semantic.git synced 2024-12-20 21:31:48 +03:00
semantic/test/fixtures/ruby/rescue.A.rb
2017-07-07 13:47:50 -07:00

20 lines
187 B
Ruby

begin
foo
rescue Error
rescue StandardError, TimeoutError => x
x
else
z
ensure
y
end
def foo
rescue Error
rescue StandardError, TimeoutError => x
else
ensure
end
bar rescue nil