PageRenderTime 106ms CodeModel.GetById 30ms app.highlight 1ms RepoModel.GetById 59ms app.codeStats 0ms

/ruby-mode/Classes and Modules/class .. end (cla).yasnippet

http://github.com/ridgetang/snippets
Unknown | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | 291582a5ffac02f0f2272cd1eb5ce749 MD5 | raw file
1# -*- mode: snippet -*-
2# key: cla
3# contributor: Translated from TextMate Snippet
4# name: class .. end
5# --
6class ${1:${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g}}
7	$0
8end