Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Autoload cgi, because it's only needed for one formatter occasionally…

…. (cherry picked from commit e15b15c819a5c2d5d12392c2b42b561ea8bf9734)
  • Loading branch information...
commit 23b9ad9122d9cdf4cc4288291822368f64335583 1 parent 9b655ad
Barry Allard authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/awesome_print/formatter.rb
2  lib/awesome_print/formatter.rb
@@ -3,7 +3,7 @@
# Awesome Print is freely distributable under the terms of MIT license.
# See LICENSE file or
-require "cgi"
+autoload :CGI, "cgi"
require "shellwords"
module AwesomePrint
Please sign in to comment.
Something went wrong with that request. Please try again.