Hi,
In message "Re: [FAQ] Defining <=>"
on 02/11/26, Dave Thomas <Dave / PragmaticProgrammer.com> 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.