summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/yasnippet/snippets/ruby-mode/general/app
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/lisp/yasnippet/snippets/ruby-mode/general/app')
-rw-r--r--emacs.d/lisp/yasnippet/snippets/ruby-mode/general/app5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/lisp/yasnippet/snippets/ruby-mode/general/app b/emacs.d/lisp/yasnippet/snippets/ruby-mode/general/app
new file mode 100644
index 0000000..b151ccc
--- /dev/null
+++ b/emacs.d/lisp/yasnippet/snippets/ruby-mode/general/app
@@ -0,0 +1,5 @@
+#name : if __FILE__ == $PROGRAM_NAME ... end
+# --
+if __FILE__ == $PROGRAM_NAME
+ $0
+end