From: Chris Gallagher Date: 2007-02-21T10:51:48+09:00 Subject: Re: Checking what a method has returned well the reason im doing this is for refoactoring purposes so my code is chaning a lot. What I have at the moment is: file = 'public/images/' + source_url + '.jpg' if ((FileTest.exists?(file))&&((Time.new-File.stat(file).mtime)< 50000)) .................. Im guessing I can stick a 'return true' just below that or does it work that way? -- Posted via http://www.ruby-forum.com/.