From: Christer Nilsson Date: 2005-12-05T08:04:19+09:00 Subject: Re: PrettyPrint Array ? Fellinger wrote: > try [1,2,[3]].flatten.to_s No, I do not want to hide the difference. rosco wrote: > def assert(expect, actual) > print (expect == actual ? "." : "\nexpect #{expect.inspect}\nactual: > #{actual.inspect}\n") > end Yes, "inspect" is exactly what I needed! Thank you very much! Christer -- Posted via http://www.ruby-forum.com/.