DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUBY
ruby join hash to string
{:a => 100, :b => 200}.map{|k,v| "#{k}=#{v}"}.join('&') # => "a=100&b=200"
PREVIOUS
NEXT
Tagged:
#ruby
#join
#hash
#string
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit