From: Michelle Pace Date: 2011-08-24T18:30:30+09:00 Subject: "args = nil" in method signature Hello, please could somebody explain to me what the "args = nil" in the method signature does? And why/when would you use such a convention? def request_post(resource, args = nil) request(resource, "post", args) end # example method call on request_post request_post("api/v2/projects/my_project/murmur.xml", 'murmur[body]' => "I murmur this message here") Thank-you in advance, Michelle -- Posted via http://www.ruby-forum.com/.