That doesn't strike me as immediately intuitive. Also, I wouldn't
expect a singleton method on the Pathname class. There aren't any
currently that I recall.
How about ftools then? There we've got File instead of FileUtils.
This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.
At Tue, 22 Aug 2006 23:56:47 +0900,
Berger, Daniel wrote in [ruby-talk:209874]:
> > > > Agreed. File would be a better location for the it.
> > > >
> > >
> > > Or even IO perhaps?
> > IO isn't always associated with a certain path.
> > I'd prefer File.null.
> That's fine with me. If we're going to keep it pure Ruby,
> could put this in FileUtils?
In pure Ruby, Pathname might be the best.