From: 7stud -- Date: 2012-12-29T11:53:09+09:00 Subject: Re: Ruby Koans regarding Hashes. 7stud -- wrote in post #1090536: > > def to_s > @hash.inspect > end > > end > To be consistent, instead of using @hash in to_s(), the code should use the getter: def to_s hash.inspect end -- Posted via http://www.ruby-forum.com/.