Module: Alisms::Util

Defined in:
lib/alisms/util.rb,
lib/alisms/util/configuration.rb

Defined Under Namespace

Classes: Configuration

Instance Method Summary collapse

Instance Method Details

#url_encode(hash) ⇒ Object



3
4
5
# File 'lib/alisms/util.rb', line 3

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