Class: MyCGI
- Inherits:
-
CGI
- Object
- CGI
- MyCGI
- Defined in:
- lib/mycgi.rb
Instance Method Summary collapse
Instance Method Details
#redirect(where) ⇒ Object
38 39 40 |
# File 'lib/mycgi.rb', line 38 def redirect( where ) print header( { 'Status' => '302 Moved', 'location' => where } ) end |