From: Gary Wright Date: 2008-02-20T13:46:04+09:00 Subject: Re: Is there any object-oriented File class in ruby ? On Feb 19, 2008, at 7:25 PM, Daniel Brumbaugh Keeney wrote: > The real > shame in my mind is that File.new doesn't accept a pathname as a first > parameter, only a string. That works in 1.9. In fact File.new will accept any argument the implements #to_path, which should return the string to be passed to the OS. irb-1.9> File.new(Pathname.new('/etc/motd')) => #