Sha256: 5d49d5fa884d18e88c9054b655c5729cb43340bff94aded5f7edd9b9c15e1a60

Contents?: true

Size: 197 Bytes

Versions: 8

Compression:

Stored size: 197 Bytes

Contents

# encoding: utf-8

class ERB
  module Util
    def url_encode(s)
      EscapeUtils.escape_url(s.to_s)
    end
    alias u url_encode
    module_function :u
    module_function :url_encode
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

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