mirror of
https://github.com/github/semantic.git
synced 2024-12-11 08:45:48 +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
|