From: James Edward Gray II Date: 2005-08-27T03:28:34+09:00 Subject: Re: ruby quiz question '*' on the initialize parameters On Aug 26, 2005, at 1:24 PM, Gaston Garcia wrote: > Thanks james, that's a beautiful thing that does!!! It also works in reverse. Watch this: irb(main):001:0> def var_args( *args ) irb(main):002:1> fixed_args(*args) # expanded back out irb(main):003:1> end => nil irb(main):004:0> def fixed_args( one, two, three ) irb(main):005:1> p three irb(main):006:1> end => nil irb(main):007:0> var_args 1, 2, 3 3 => nil James Edward Gray II