From: Harry Ohlsen Date: 2001-09-04T06:09:29+09:00 Subject: [ruby-talk:20814] Re: passing hashes Dave Thomas wrote: > Matz is ahead of you :) > > def fred(first_param, rest) > p first_param > p rest > end > > > > fred 123, :name => "mickey", :type => "mouse" > > #=> > 123 > {:type=>"mouse", :name=>"mickey"} I'm not sure I understand what's going on here. Are you saying that this is a shorthand for fred 123, {type=>"mouse", :name=>"mickey"} (which doesn't feel like a big saving) or is there deeper meaning that I'm missing?