Brian Schr?der <ruby.brian / gmail.com> wrote:
> 
> It works not only when the method has only one argument, but always
> with the last argument.
> 
> $ irb
> irb(main):001:0> def show(*args) p args end
> => nil
> irb(main):002:0> show 1, 2, 3, 5 => 6
> [1, 2, 3, {5=>6}]
> => nil

And (since none of the examples have made that explicit), the hash can
have more than one element in it.

irb(main):002:0> show 1, 2, 3, 4 => 5, 6 => 7
[1, 2, 3, {6=>7, 4=>5}]
=> nil

martin