A
Aaron
see the following codes pls, I wonder if this's a intent or a bug. For me the first line sounds better having same result with the later line
P.S. coding with ruby 1.9.2p180 atm
=> {:mem=>[1]}[1].inject(Hash.new {[]}){ |result, i| result[:mem] << i; result } => {}
[1].inject(Hash.new {[]}){ |result, i| result[:mem] <<= i; result }
P.S. coding with ruby 1.9.2p180 atm