From: Abder-Rahman Ali Date: 2010-09-20T18:24:41+09:00 Subject: Re: How can this Java method header be represented in Ruby Peter Hickman wrote: > def setFile(fileName) > ... > end > > You do realise that Ruby is a dynamic language, there is no typing? > > How you name your methods and variables is up to you but I would go with > > def set_file(filename) > ... > end Thanks @Peter. And, of course, the second form is more suitable especially for Ruby convention. -- Posted via http://www.ruby-forum.com/.