mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
14 lines
225 B
Ruby
Executable File
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
|