From: Kyle Date: 2009-11-10T10:25:51+09:00 Subject: Re: wrong number of arguments in initialize --Boundary-00=_ZEM+KnSAiVWQrzS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit but what's the test code you're executing that raises the error? On Monday November 9 2009 4:18:24 pm Arti Singh wrote: > I tried to initalize my methods and I get an error > def initialize(name,browser,username) > @s_name=name > @browser=browser > @username=username > end #def initialize(dc) > attr_accessor :name,:browser,:username > > > > > C:/RubyInstall/ruby/lib/ruby/1.8/test/unit/testcase.rb:59:in > `initialize': wrong number of arguments (1 for 3) (ArgumentError) > > > I honestly dont get it now, this is silly --Boundary-00=_ZEM+KnSAiVWQrzS--