Sha256: c0cb4d96e4bd904566bd460f5ca0182fa9b9361f89e010eb6642e19491efde2c

Contents?: true

Size: 178 Bytes

Versions: 11

Compression:

Stored size: 178 Bytes

Contents

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

11 entries across 11 versions & 1 rubygems

Version Path
escape_utils-1.2.2 lib/escape_utils/url/erb.rb
escape_utils-1.1.1 lib/escape_utils/url/erb.rb
escape_utils-1.2.1 lib/escape_utils/url/erb.rb
escape_utils-1.2.0 lib/escape_utils/url/erb.rb
escape_utils-1.1.0 lib/escape_utils/url/erb.rb
escape_utils-1.0.1 lib/escape_utils/url/erb.rb
escape_utils-1.0.0 lib/escape_utils/url/erb.rb
escape_utils-0.3.2 lib/escape_utils/url/erb.rb
escape_utils-0.3.1 lib/escape_utils/url/erb.rb
escape_utils-0.3.0 lib/escape_utils/url/erb.rb
escape_utils-0.2.4 lib/escape_utils/url/erb.rb