From: ts Date: 2002-01-23T17:32:13+09:00 Subject: Re: SyntaxError in specify default values for a method's arguments >>>>> "V" == Vlad writes: V> def Testmod.get (arg1,arg2,arg3="06",arg4,arg5) V> end V> It is normal ? Yes, in a method definition you can specify in this order * required args (arg1, arg2) * optionnal args (arg3="06", arg4=nil, arg5=nil) * rest args (*rest) * block arg (&block) If you specify an optionnal argument, the following arguments (except for *rest and &block) must also have a default value Guy Decoux