diff --git a/snippets/ruby.snippets b/snippets/ruby.snippets index 53733fd..94db988 100644 --- a/snippets/ruby.snippets +++ b/snippets/ruby.snippets @@ -511,16 +511,16 @@ snippet tas snippet b {|${1:var}| ${2}} snippet begin - begin - raise 'A test exception.' - rescue Exception => e - puts e.message - puts e.backtrace.inspect + begin + raise 'A test exception.' + rescue Exception => e + puts e.message + puts e.backtrace.inspect else # other exception ensure # always excute - end + end #migrations snippet mac