blob: bca7cdcae5cd599eb3d49c71e6bb4b7adaeff807 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
load 'util.rb'
template = "page.#{ARGV[0]}.erb"
@page = Page.new(ARGV[1])
erb = ERB.new(File.read(template));
erb.filename = template
erb.run()
|