Skip to content

Instantly share code, notes, and snippets.

@danmcclain
Created November 7, 2011 14:08
Show Gist options
  • Select an option

  • Save danmcclain/1345113 to your computer and use it in GitHub Desktop.

Select an option

Save danmcclain/1345113 to your computer and use it in GitHub Desktop.
module Rack
module Utils
def escape(s)
CGI.escape(s.to_s)
end
def unescape(s)
CGI.unescape(s)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment