From: 7stud -- Date: 2009-08-13T13:49:29+09:00 Subject: Re: skip_before_filter (Do I need a lesson in modules/mixins Cris Shupp wrote: > > What is *filters? Did I miss this in my 'Learning Ruby' book? > def meth1(*args) p args end meth1(1, 2, 3) --output:-- [1, 2, 3] def meth2(x, y, z) puts x, y, z end args = [1, 2, 3] meth2(*args) --output:-- 1 2 3 def meth3(x, y, *args) p x, y, args end meth3(1, 2, 3, 4, 5, 6) --output:-- 1 2 [3, 4, 5, 6] -- Posted via http://www.ruby-forum.com/.