summaryrefslogtreecommitdiffstats
path: root/emacs.d/snippets/text-mode/ruby-mode/app
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.d/snippets/text-mode/ruby-mode/app')
-rw-r--r--emacs.d/snippets/text-mode/ruby-mode/app6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs.d/snippets/text-mode/ruby-mode/app b/emacs.d/snippets/text-mode/ruby-mode/app
new file mode 100644
index 0000000..19bf60a
--- /dev/null
+++ b/emacs.d/snippets/text-mode/ruby-mode/app
@@ -0,0 +1,6 @@
+#name : if __FILE__ == $PROGRAM_NAME ... end
+#group : general
+# --
+if __FILE__ == $PROGRAM_NAME
+ $0
+end \ No newline at end of file