aboutsummaryrefslogtreecommitdiff
path: root/template/ruby
diff options
context:
space:
mode:
authormattn <mattn.jp@gmail.com>2011-10-28 09:42:05 +0900
committermattn <mattn.jp@gmail.com>2011-10-28 09:42:05 +0900
commit50270c6dd21fb071fdb19e37f8dc95f4d6dff616 (patch)
tree72bd93193a30943fa6db98cd94f9be54c160a0b8 /template/ruby
parent6bf642f27e160a9218fc839c22627e4c515efa15 (diff)
downloadvim-sonictemplate-50270c6dd21fb071fdb19e37f8dc95f4d6dff616.tar.gz
vim-sonictemplate-50270c6dd21fb071fdb19e37f8dc95f4d6dff616.tar.bz2
vim-sonictemplate-50270c6dd21fb071fdb19e37f8dc95f4d6dff616.zip
BIG CHANGE: changed directory structure.
Diffstat (limited to 'template/ruby')
-rw-r--r--template/ruby/snip-pit.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/template/ruby/snip-pit.rb b/template/ruby/snip-pit.rb
new file mode 100644
index 0000000..d8682d5
--- /dev/null
+++ b/template/ruby/snip-pit.rb
@@ -0,0 +1,7 @@
+require "pit"
+
+config = Pit.get("{{_input_:domain}}", :require => {
+ "username" => "username of {{_input_:domain}}",
+ "password" => "password of {{_input_:domain}}",
+})
+{{_cursor_}}