params = {:a => "a", :b => "thisisb", :c => "c", :d => "thiswasb", :e => "34" }
opts = {}
...
Ruby Passing hashed arguments
by jalapinto.myopenid.com,
May 20, 2010 23:16,
7 refactorings
params = {:a => "a", :b => "thisisb", :c => "c", :d => "thiswasb", :e => "34" }
opts = {}
...
Ruby Passing hashed arguments
by jalapinto.myopenid.com,
May 20, 2010 23:16,
3 refactorings
I only want the keys :a, :b...
arr = []
b={:a => "option1", :b => "option2"}
b.each_pair{ |key,value| arr << "#{key}=#{value}" }
...
Ruby HTML query string
by jalapinto.myopenid.com,
April 29, 2010 00:04,
5 refactorings, tagged with ruby, html, query, params
Trying to create the query ...
I only want the keys :a, :b...