Skip to content

Instantly share code, notes, and snippets.

@pocke
Created March 1, 2015 04:03
Show Gist options
  • Save pocke/a8354638abf39c73dd76 to your computer and use it in GitHub Desktop.
Save pocke/a8354638abf39c73dd76 to your computer and use it in GitHub Desktop.
For ruby_hl_lvar.vim
fuga = 'nya'
begin
fuga
rescue StandardError => ex1
ex1 + fuga
rescue hoge = fuga = piyo => ex2
ex2
hoge
rescue RuntimeError => err
puts err
else
puts fuga
ensure
fuga
end
piyo(fuga)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment