bmaland/yasnippet-ruby-mode — Issue #2: Error in class snippet
Author: aL3xa
Created: 2012-01-13 12:20:04+00:00
State: open

Hi @bmaland! Thanks for comprehensive list of Ruby snippets. However, you seem to have a bug in the class snippet - it shows some malformed lips code on expand.

```
class ${1:$
(let ((fn (capitalize (file-name-nondirectory
(file-name-sans-extension
(buffer-file-name))))))
(cond
((string-match "_" fn) (replace-match "" nil nil fn))
(t fn)))}

end
```