# -*- mode: snippet -*- # key: mod # contributor: Translated from TextMate Snippet # name: module .. module_function .. end # -- module ${1:${TM_FILENAME/(?:\A|_)([A-Za-z0-9]+)(?:\.rb)?/(?2::\u$1)/g}} module_function $0 end