From: Peter Loftus Date: 2007-12-18T21:16:44+09:00 Subject: how to pass unkown length of parameters into a class method #!/usr/bin/ruby class Example def Examplemethod(var1) puts var1 end end Check = Example.new Check.Examplemethod("Loftz") Hey guys So this is just calling a method that prints out a name. Im just wondering can i specify that there may be mulitple parameters going into this method for example Check.Example("Loftz","peter","john","paul","gary") and have that method inside the class Example not know how many parameters are going to be passed into it? def Examplemethod(?) Regards Loftz -- Posted via http://www.ruby-forum.com/.