From: nobu.nokada@... Date: 2005-08-16T22:51:44+09:00 Subject: Re: newbie, to_s question Hi, At Tue, 16 Aug 2005 22:36:14 +0900, EdUarDo wrote in [ruby-talk:152360]: > def to_s > puts "#@name" > end You don't return a String, but nil. > Why do I get the internal representation of Tactic? `puts' converts the arguments by calling `to_s', but use default `to_s' if it didn't return a String. -- Nobu Nakada