<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
</div>Just because too objects have the same to_s representation don&#39;t mean<br>
they are equal:</blockquote><div>&nbsp;</div><div>The important equality in this case is what matters to the tester.&nbsp; <br></div><div>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>This is a similar issue to Floats where there&#39;s more precision than<br>
the exernal representation shows.<br>
<font color="#888888"></font></blockquote><div><br>Is there more precision than seconds in a Time instance?<br><br>irb(main):006:0&gt; a,b = Time.now, Time.now<br>=&gt; [Sat May 03 11:06:31 -0700 2008, Sat May 03 11:06:31 -0700 2008]<br>
irb(main):007:0&gt; puts a.to_i, b.to_i<br>1209837991<br>1209837991<br>=&gt; nil<br><br></div></div>