Sha256: db72f878de8fb73e46868fe500fa806e4bc002519356057d9f66a8700709781a

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
escape_utils-1.3.0 lib/escape_utils/url/erb.rb