SirVer/ultisnips — pull request #16 by graudeejs (2012-05-19 12:00:52+00:00)
Title: Update ruby snippets

Since last I send update to ruby snippets I've done quite some improvements.

Some snippets have became much more intelligent. For example each snippet

``cars.each``
Will turn into
``cars.each do |car|
#todo
end``

I've also review how to unify my snippet behavior.

Snippets that start with capital will be one-liners. And $0 will be at the end of line, While snippets without capitals will be expanded to multiple lines and $0 will be at last block.

I also have ruby haml snippets, if you're interested:
https://github.com/graudeejs/dot.vim/blob/master/snippets/haml/ruby.snippets