Gavin Sinclair wrote:

>Not for me.  Just rename to method to from_file, and the client code reads
>
>  test_var = Test.from_file('some_file')
>
>Not too bad, is it?  I would go for Test.new('file') (I'd probably use a File
>object, actually).  Anyway, there's plenty of precendent:
>
>  Time.now
>  Time.local
>  Thread.current
>  ...
>  
>
Sorry to ask, I'm a newbie with Ruby, and I don't understand what means

"Just rename to method to from_file"

What method must I rename ? And how to do it ? I've done a search on the 
ruby/lib sources and I can not find where Time.now is defined.

Thanks

Enric