From: Dr Nic Date: 2006-07-25T20:28:49+09:00 Subject: Re: Defining a method with an argument with a default value > Must free myself of silly mental restrictions brought over from lesser > languages... :) If you're feeling really lazy or just want to test something in IRB before posting on a forum :) then this is what you might type: Foo.class_eval { def bar(tar=0); tar * 2; end} Of course then you should reformat it for the forum :) -- Posted via http://www.ruby-forum.com/.