From: Gavin Sinclair Date: 2003-02-06T12:52:48+09:00 Subject: Re: Return values from assertions On Thursday, February 6, 2003, 2:42:16 PM, nathaniel wrote: > Is there a good rule of thumb for what methods should do > when they don't have a useful value to return? I can't remember seeing > any code that was careful to always return nil, but that could just be > my limited reading. I don't know about rule of thumb, but I would prefer to see nil returned. We rely on documentation to specify APIs in Ruby, since no type declarations do that for us, and keeping things uniform and documented would serve Test::Unit well. Gavin