mirror of
https://github.com/github/semantic.git
synced 2024-12-23 06:41:45 +03:00
20 lines
187 B
Ruby
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
|