James Deville wrote: > Doh! I can't believe that I missed that. > > You can also use if self.images.size.zero? > > Just a little more readable. > > James Deville
You were writing while i was writing :D nice one, i didn't know the #zero? - way more readable :) -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users