Hi,
In mail "FileUtils.cp should use to_str?"
Gavin Sinclair <gsinclair / soyabean.com.au> wrote:
> require 'pathname'
> require 'fileutils'
>
> source = Pathname.new("/tmp/abc.txt")
> target = Pathname.new("/tmp/def.txt")
>
> FileUtils.cp(source, target) # This line errors.
> It works if source and target receive to_str before the method is
> called.
>
> It would be nice for these libraries to work together nicely.
That sounds nice.
I have committed to CVS the patch now.
Regards,
Minero Aoki