PageRenderTime 35ms CodeModel.GetById 19ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/ruby-mode/Classes and Modules/module .. end.yasnippet

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