capitaomorte 102424118e * Release notes and issue list updated
* Little problems fixed
* ruby mode cls snippet fixed
2009-07-24 15:41:12 +00:00

14 lines
399 B
Plaintext

#name : class ... end
#contributor : hitesh <hitesh.jasani@gmail.com>
#group : definitions
# --
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)))}
$0
end