> Date: Sat=2C 10 Sep 2011 02:05:15 +0900
> From: cwprogram / live.com
> Subject: Re: Creating a hash from two arrays
> To: ruby-talk / ruby-lang.org
>
>
> > Hi. Can anyone help with this? I'd like to end with a hash like so:
> >
> > hash =3D {{"A" =3D> 'alpha'}=2C {'B' =3D> 'bravo'}} etc...
> >
> >
> >
> > I'm not sure whether I can use group_by and how to handle case
> > insensitity. Cheers for any help.
> >
> >
> >
> > irb(main):001:0> s =3D ('A'..'Z').to_a
> > =3D> ["A"=2C "B"=2C "C"=2C "D"=2C "E"=2C "F"=2C "G"=2C "H"=2C "I"=2C "J=
"=2C "K"=2C "L"=2C "M"=2C
> > "N"=2C "O"=2C "P"=2C "Q"=2C "R"=2C "S"=2C "T"=2C "U"=2C "V"=2C "W"=2C "=
X"=2C "Y"=2C "Z"]
> >
> > irb(main):003:0> t =3D %w(alpha bravo Charlie Zebra)
> > =3D> ["alpha"=2C "bravo"=2C "Charlie"=2C "Zebra"]



My message got garbled for some reason.... Here is the gist:=A0https://gist=
.github.com/1206766 		 	   		  =