I'm not religious about the old or new Ruby Hash syntax, but it is interesting that if you inspect a Hash in 1.9, you get the old syntax:
[code language='ruby'] ruby-1.9.2-p180 :001 > { foo: 'bar' } => {:foo=>"bar"}
If the new syntax is so ding-dang good, then I think inspect should use it, when it can.
comments powered by Disqus