From: Yukihiro Matsumoto Date: 2009-11-30T17:02:10+09:00 Subject: [ruby-core:26957] Re: Methods with default params not at the end and with rest params Hi, In message "Re: [ruby-core:26939] Methods with default params not at the end and with rest params" on Sun, 29 Nov 2009 17:37:56 +0900, Vladimir Sizikov writes: |So, the following: | |def meth(a=1, b, *r) | [a, b, r] |end | |cannot be even parsed in any version of MRI 1.9.0-1.9.2 I tried. The argument order is mandatory-args, optional-args, rest-arg, post-mandatory-args you put post-mandatory-args before rest-arg. matz.