----- Original Message ----- 
From: Daniel Berger
>
> class Pathname < String
>
> [...]
>

Related - [ruby-core:3919], short enough to quote in full ...

#---------------------------------------------------------------------------
#  In message "Re: Pathname needs a makeover"
#      on Wed, 8 Dec 2004 05:51:11 +0900, "Berger, Daniel" writes:
#
#  |- A pathname is a string.  Therefore, it should be a subclass of String
#
#  It's not.  Pathnames can be given to open() etc. in place of strings,
#  that's true.  But no more relation between strings and pathnames.
#
#         matz.
#
#---------------------------------------------------------------------------

In the same thread, it seemed that Akira-san was open to the
potential of a revamp but also provided examples for why
Pathname is not a String - and other helpful info.


----- Original Message ----- 
From: Daniel Berger
> Nobu wrote:
>
> > >       path.tr!("/",@sep) if File::ALT_SEPARATOR
> >
> > This changes the argument.
>
> Yes, I know.  That's intentional.
>

It's "rude".
You have no idea what stupid arguments I want to pass.  :-)

... __FILE__ ... Config::CONFIG['mandir'] ...

UNIX_PATH_STRING = './aa/bb/cc'.freeze
dos_pathname = Pathname.new(UNIX_PATH_STRING)

#  TMP:5:in `tr!': can't modify frozen string (TypeError)

I froze it because, _somehow_, it kept changing !


BTW - appreciated, Dan


daz