Chapter 13. Compatibility

ruby-web ships with the cgi.rb interface, adapted to use the ruby-web infrastructure.

require 'web/shim/cgi'
cgi = CGI.new
# ...