summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/generic_erb.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/generic_erb.rb b/tool/generic_erb.rb
new file mode 100644
index 0000000000..7ea33fbc5f
--- /dev/null
+++ b/tool/generic_erb.rb
@@ -0,0 +1,4 @@
+require 'erb'
+
+template = ARGV.shift
+ERB.new(File.read(template), nil, '%').run