#name : class ... end #contributor : hitesh #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