1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/docroot/cgi-bin/cgi.rb
2015-01-23 17:24:36 +01:00

14 lines
225 B
Ruby
Executable File

require 'cgi'
cgi = CGI.new("html4")
cgi.out do
cgi.html do
cgi.body do
cgi.h2 {"Esempio di CGI"} +
cgi.i {"scritto in "} +
cgi.a("http://www.ruby-lang.org") { 'linguaggio ruby' }
end
end
end