Sha256: d138fcdef4d1b38a2cbf1182c8cd51ee60846fc645152910223daa268e126c04

Contents?: true

Size: 252 Bytes

Versions: 8

Compression:

Stored size: 252 Bytes

Contents

# encoding: utf-8

module Rack
  module Utils
    def escape(url)
      EscapeUtils.escape_url(url.to_s)
    end
    def unescape(url)
      EscapeUtils.unescape_url(url.to_s)
    end
    module_function :escape
    module_function :unescape
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
escape_utils-0.2.3 lib/escape_utils/url/rack.rb
escape_utils-0.2.2 lib/escape_utils/url/rack.rb
escape_utils-0.2.1 lib/escape_utils/url/rack.rb
escape_utils-0.2.0 lib/escape_utils/url/rack.rb
escape_utils-0.1.9 lib/escape_utils/url/rack.rb
escape_utils-0.1.8 lib/escape_utils/url/rack.rb
escape_utils-0.1.7 lib/escape_utils/url/rack.rb
escape_utils-0.1.6 lib/escape_utils/url/rack.rb