From: "Iñaki Baz Castillo" Date: 2008-03-27T22:30:21+09:00 Subject: Re: Over Loading 2008/3/27, Selvaraj Subbaian : > I think we can pass any number of argument as an array to method. is > this the reason or any other ??? Better than an Array you can pass a Hash , so you keep the variable name: objet.my_method( { "num"=>2313 , "name"=>"My Name", "phone"=>"+34232343243" } ) def my_method ( variables = {} ) puts "My name is" + variables["name"] puts "My id num is" + variables["num"].to_i end AFAIK RubyOnRails uses this way a lot. -- Iñaki Baz Castillo