Better way to fill a Ruby hash?
Posted
by sardaukar
on Stack Overflow
See other posts from Stack Overflow
or by sardaukar
Published on 2009-05-08T14:17:22Z
Indexed on
2010/04/22
18:33 UTC
Read the original article
Hit count: 294
Is there a better way to do this? (it looks clunky)
form_params = {}
form_params['tid'] = tid
form_params['qid'] = qid
form_params['pri'] = pri
form_params['sec'] = sec
form_params['to_u'] = to_u
form_params['to_d'] = to_d
form_params['from'] = from
form_params['wl'] = wl
© Stack Overflow or respective owner