Ruby 读取 HTML 页面参数 2015/05/03 14283 #!/ruby/bin/ruby require 'cgi' print "Content-type: text/html \n\n" cgi = CGI.new print "Name = " print cgi['Name'] print"<br>" print"<br>" print "Type = " print cgi['Type']