From: ts Date: 2003-07-26T02:15:41+09:00 Subject: Re: Problem with class, struct, and to_s >>>>> "G" == Gavin Sinclair writes: G> So what happens internally when #puts calls #to_s and it doesn't get a G> String? The net result is that it prints the output of #inspect, by G> the look of it, which seems a bit weird. Well it call the equivalent of #inspect, and you are lucky because if plruby receive a Fixnum when it expect a String : it think that you are trying to crack it and it stop immediately with an error message :-))) Guy Decoux