On Mon, Mar 9, 2009 at 8:48 PM, James Byrne <li...@ruby-forum.com> wrote:
> David Chelimsky wrote: > > > > No, no, no :) > > > > 5.should == 5 > > 6.should be > 5 > > > > Read them aloud and they.should make(:sense). > > > > Cheers, > > 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. Aslak > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users