miren esto
irb1.8
irb(main):001:0> h = Hash.new({})
=> {}
irb(main):002:0> h[1][1] = 'hola'
=> "hola"
irb(main):003:0> h[1][2] = 'bien'
=> "bien"
irb(main):004:0> p h[1][1]
"hola"
=> nil
irb(main):005:0> p h[1][2]
"bien"
=> nil
para los que les gusta pastie : http://pastie.org/332773
--
_______________________________________________
http://www.sindominio.net/ayuda/preguntas-inteligentes.html
http://cronopios.net/Traducciones/trolls.es.html
Gnu/Linux count user #416024
Pagina personal : http://www.cesardiaz.com.ar
Mi blog : http://cesarediaz.blogspot.com
Skype: cesarstafe
_______________________________________________
Ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar