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/.