From: "Daniel Schüle" Date: 2005-10-23T10:17:01+09:00 Subject: what's the difference? Hello @*, irb(main):105:0> 10.times { d={}; puts d.object_id } 537970544 537969634 537969504 537969404 537969354 537969334 537969304 537969274 537969244 537969184 => 10 irb(main):106:0> 10 different Hash objects are constructed and their id's are printed out why doesn't the following do the same? irb(main):106:0> 10.times { puts {}.object_id } => 10 irb(main):107:0> I copied & pasted the above code mond:/pool/PROG/ruby # irb -v irb 0.9(02/07/03) I am in the learning phase so I experement a lot thx, Daniel