From: "David A. Black" Date: 2010-09-02T19:22:57+09:00 Subject: Re: why no assert_not? Hi -- On Thu, 2 Sep 2010, Daniel Berger wrote: > assert_block(message) do > object.nil? || object == false !object would be equivalent there, and faster (about 1/3 the time for a benchmark of mixed cases). David -- David A. Black, Senior Developer, Cyrus Innovation Inc. The Ruby training with Black/Brown/McAnally Compleat Philadelphia, PA, October 1-2, 2010 Rubyist http://www.compleatrubyist.com