On Monday, April 5, 2004, 1:32:51 PM, Tanaka wrote: > In article <1081126484.726652.9271.nullmailer / picachu.netlab.jp>, > matz / ruby-lang.org (Yukihiro Matsumoto) writes: >> Does [ruby-talk:96552] help you? "to_str" should always be part of >> String method set. > Always? Pathname shouldn't have to_str? > I agree that to_str is too powerful for Pathname because Gavin's 2nd > example > message = "Can't find directory: " + pathname > is not intended to work. I see nothing at all wrong with that line of code. It produces exactly the result I expect, and with no nasty side effects. What don't you like about it? > So I'm glad to see a conversion method dedicated only for a pathname. I'm not sure what you mean here. Cheers, Gavin