On Monday, April 5, 2004, 10:54:42 AM, Yukihiro wrote: > In message "Difference between to_s and to_str" > on 04/04/05, Gavin Sinclair <gsinclair / soyabean.com.au> writes: > | > |There has been some discussion on this topic in the thread "deciding > |between ruby and python". It was centered around how far #join > |should go in getting what it wants (a String) from an object. I > |detected some misunderstanding at the intention of #to_s and #to_str, > |so I hope the following is helpful (and more importantly, correct). > Does [ruby-talk:96552] help you? "to_str" should always be part of > String method set. I must admit I'm a little confused by http://ruby-talk.org/blade/96552 Can I ask: what do you think of Pathname#to_str? Is it appropriate in your opinion? Cheers, Gavin