R
Ranieri Teixeira
Hi,
I want to load the following yaml content:
Yellow: 1
Blue: 2
Red: 3
And build two arrays: one for keys, that must be in this order:
['Yellow', 'Blue', 'Red'] and another for values:
[1, 2, 3]
How can I do that?
Thanks
--=20
Ranieri Barros Teixeira
Ci=EAncia da Computa=E7=E3o - Faculdade de Computa=E7=E3o - Universidade F=
ederal do
Par=E1 (UFPA)
http://rubyxchart.rubyforge.org
I want to load the following yaml content:
Yellow: 1
Blue: 2
Red: 3
And build two arrays: one for keys, that must be in this order:
['Yellow', 'Blue', 'Red'] and another for values:
[1, 2, 3]
How can I do that?
Thanks
--=20
Ranieri Barros Teixeira
Ci=EAncia da Computa=E7=E3o - Faculdade de Computa=E7=E3o - Universidade F=
ederal do
Par=E1 (UFPA)
http://rubyxchart.rubyforge.org