capitaomorte/yasnippet — pull request #195 by jimeh (2011-11-04 00:00:35+00:00)
Title: Improved ruby-mode snippets

I've added a few missing snippets, and modified a few existing ones which I had defined in my own local snippet collection till now. If my count is right, 10 snippets were added, and 4 were modified:

- `case` was moved from the general group to control structure.
- `when` had the end statement removed from the end of it, cause you should already be within a `case ... end` block.
- `cla` for `class << self ... end` was renamed to `clas`.
- `cls` for `class FileName ... end` was renamed to `cla`.

The diff looks a bit odd as it has the `cls` snippet marked as renamed and modified to the `mod` snippet. `mod` is actually new, just based on the old `cls` snippet that was renamed to `cla`, so it confuses the diff a bit.