Skip to content

Instantly share code, notes, and snippets.

@aiwilliams
Created October 25, 2008 18:30
Show Gist options
  • Save aiwilliams/19764 to your computer and use it in GitHub Desktop.
Save aiwilliams/19764 to your computer and use it in GitHub Desktop.
module Kernel
def rputs(*args)
puts *["<pre>", args.collect {|a| CGI.escapeHTML(a.inspect)}, "</pre>"]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment