OSDN Git Service

imported from subversion repository
[xerial/xerial-core.git] / script / erb.rb
1 require 'erb'\r
2 \r
3 # run your erb script from the ruby command\r
4 # ruby erb.rb your_erb.erb \r
5 \r
6 erbFile = ARGV[0]\r
7 \r
8 print ERB.new(open(erbFile).read, nil, ">").result\r