P
Peter Fitzgibbons
------_=_NextPart_001_01C5A98D.453C8238
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello all,
I have a win32ole object collection that I want to map, then sort, to an
array?
Each item has #Name property. I'm thinking of making an arry of hashes
a'la :
But then, how do I sort the array of hashes ?
Is there a better approach ?
Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
(e-mail address removed)
(847) 884-8800=20
------_=_NextPart_001_01C5A98D.453C8238--
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello all,
I have a win32ole object collection that I want to map, then sort, to an
array?
Each item has #Name property. I'm thinking of making an arry of hashes
a'la :
[{"0172"=3D>#<WIN32OLE:0x2a88570>}, {"0171"=3D>#<WIN32OLE:0x2a88540>}]items =3D []
oleItems.each {|o| items << {o.Name =3D> o} }
items
But then, how do I sort the array of hashes ?
Is there a better approach ?
Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
(e-mail address removed)
(847) 884-8800=20
------_=_NextPart_001_01C5A98D.453C8238--