From: Amir Ebrahimifard Date: 2010-08-05T05:13:49+09:00 Subject: Default arguments problem Hi How can I have a method with 3 arguments so that only second argument is a default argument for example: def sum(p,q=2,r) puts p+q+r end (I want to use from this method with only 2 arguments : first argument and third argument ) -- Posted via http://www.ruby-forum.com/.