aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2013-09-21 23:14:28 +0900
committermattn <mattn.jp@gmail.com>2013-09-21 23:14:28 +0900
commit71c369775f1ca0553042ccec83c29c4756697e9b (patch)
tree14da8eaefaef07672ce8992a45624842c5786c4e /template
parent1c9e7729fb8845088ed9e223581dd37bd8e502cc (diff)
downloadvim-sonictemplate-71c369775f1ca0553042ccec83c29c4756697e9b.tar.gz
vim-sonictemplate-71c369775f1ca0553042ccec83c29c4756697e9b.tar.bz2
vim-sonictemplate-71c369775f1ca0553042ccec83c29c4756697e9b.zip
base templates for ruby
Diffstat (limited to 'template')
-rw-r--r--template/ruby/base-library.rb3
-rw-r--r--template/ruby/base-script.rb3
2 files changed, 6 insertions, 0 deletions
diff --git a/template/ruby/base-library.rb b/template/ruby/base-library.rb
new file mode 100644
index 0000000..d4b0ebd
--- /dev/null
+++ b/template/ruby/base-library.rb
@@ -0,0 +1,3 @@
+require 'rubygems'
+
+{{_cursor_}}
diff --git a/template/ruby/base-script.rb b/template/ruby/base-script.rb
new file mode 100644
index 0000000..7dfb8c1
--- /dev/null
+++ b/template/ruby/base-script.rb
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+
+{{_cursor_}}