📜  ruby join hash to string - Ruby 代码示例
📅  最后修改于: 2022-03-11 15:04:47.287000             🧑  作者: Mango
代码示例1
{:a => 100, :b => 200}.map{|k,v| "#{k}=#{v}"}.join('&')
# => "a=100&b=200"