From: Vlad Date: 2002-01-23T17:13:25+09:00 Subject: SyntaxError in specify default values for a method's arguments HI ALL ! ------------------------------------------------------------ module Testmod def Testmod.get (arg1,arg2,arg3="06",arg4,arg5) end end #!/usr/bin/env ruby require "Testmod" a="01" b="02" c="03" d="04" e="05" Testmod.get(a,b,c,d,e) print "OK\n" $ ./test.rb ../test.rb:3:in `require': ./Testmod.rb:2: parse error (SyntaxError) def Testmod.get (arg1,arg2,arg3="03",arg4,arg5) ^ from ./test.rb:3 module Testmod def Testmod.get (arg1,arg2,arg3,arg4,arg5="03") end end $ ./test.rb OK ----------------------------------------------------------------------- It is normal ? With the best regards.