From: matz@... (Yukihiro Matsumoto) Date: 2002-11-26T00:36:50+09:00 Subject: Re: [FAQ] Defining <=> Hi, In message "Re: [FAQ] Defining <=>" on 02/11/26, Dave Thomas writes: |> But it based on whether object has "to_str" or not. | |Actually, File.open looks for a String, it just calls |rb_check_safe_str. Arguably to should use to_str, though. It does. Everything I say is based on 1.7 in general. Sorry for inconvenience. matz.