File: cond.rb

package info (click to toggle)
html-template 0.16-2.1
  • links: PTS
  • area: main
  • in suites: squeeze, wheezy
  • size: 128 kB
  • ctags: 111
  • sloc: ruby: 869; makefile: 41
file content (9 lines) | stat: -rwxr-xr-x 196 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#!/usr/bin/ruby

require "html/template"
tmpl = HTML::Template.new("cond.html")
tmpl.param({
	     'true' => {'hoge' => 'ۤۤ'}
	     }) 
print "Content-Type: text/html\n\n"
print tmpl.output