K
Kevin Olbrich
Anyone know of any ruby shortcuts for multiply assigning elements in a hash?
What I need to do is set up a hash like this...
{ "one" => "A", "two"=>"A", "three" => "A" }
What I would like to do is something like this....
{ "one","two","three" => "A" } (this doesn't work)
_Kevin
www.sciwerks.com
What I need to do is set up a hash like this...
{ "one" => "A", "two"=>"A", "three" => "A" }
What I would like to do is something like this....
{ "one","two","three" => "A" } (this doesn't work)
_Kevin
www.sciwerks.com