Ruby 访问 CGI 变量 2015/08/30 15421 #!/usr/bin/ruby require 'cgi' cgi = CGI.new text = cgi['text'] puts cgi.header puts "<html><body>#{text.reverse}</body></html>"