Sha256: ca99f652fd70a64e06292d83bb0a4dc8a15390c14a6e80612eb0092853cdd05f

Contents?: true

Size: 135 Bytes

Versions: 2

Compression:

Stored size: 135 Bytes

Contents

module Alisms
  module Util
    def url_encode hash
      hash.to_a.map {|p| p.map {|e| e.to_s}.join('=')}.join('&')
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alisms-0.1.1 lib/alisms/util.rb
alisms-0.1.0 lib/alisms/util.rb