Yes, I just tested in IRB:


When I input:

  foo({first: 'a', second: 'b', third: 'c'})

It will return the CHANGED version:

  [{:first=>"a", :second=>"b", :third=>"c"}]

I believe this is a design decision.

Internally, ruby will ALWAYS treat the new
hash syntax as the old hash syntax! So I
recommend to use the old hash syntax, your
brain will be happier in the long run. ;)

-- 
Posted via http://www.ruby-forum.com/.