Aslak Hellesøy wrote: > On Mon, Mar 9, 2009 at 8:48 PM, James Byrne <li...@ruby-forum.com> > wrote: > >> > David >> >> Perhaps it is my dialect, but what is wrong with: >> >> "5 should be equal to 5" >> >> which generally is how I read "=="? Actually, I tend to read "==" (in >> Ruby) as "is equal to". > > > RSpec does - and will - use Ruby's semantics for equality: > http://www.ruby-doc.org/core/classes/Object.html > Homemade semantics will not be implemented, as inconsistency with Ruby's > semantics will lead to confusion.
Ruby semantics are not at issue. I read "==" to mean "is equal to" in its English sense and no other, as in "two plus five is equal to seven". -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users