From f82c5e1edf463dff986c24681a5b7ac6ce40ff26 Mon Sep 17 00:00:00 2001 From: ujihisa Date: Sun, 29 Dec 2013 19:46:11 -0800 Subject: [PATCH] Improve ruby snippets. --- neosnippets/ruby.snip | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/neosnippets/ruby.snip b/neosnippets/ruby.snip index 69ab8d1..d23d1da 100644 --- a/neosnippets/ruby.snip +++ b/neosnippets/ruby.snip @@ -134,3 +134,13 @@ options head Dir.glob(${1:'**/*'}) do |fname| ${0:TARGET} end + +snippet case +abbr case ... when ... else ... end +options head + case ${1} + when ${2} + ${3} + else + ${4} + end