From: "Matthew, Graeme" Date: 2002-09-19T14:09:24+09:00 Subject: If Statement Help Hi All Im currently learning ruby and its going well. I have been looking at a number of "guru" libraries such as DBI, CGI etc to try and learn by example. I have noticed that a number of if statements have the following syntax eg: if File.name? Can someone please explain the ? usage as I have searched all over the Pragmatic Programmer pages with no answer. Thanks Graeme Matthew Analyst Programmer Mercer Investment Consulting Level 29, 101 Collins Street, Melbourne, VIC, 3001, Australia Tel - 61 3 9245 5352 Fax - 61 3 9245 5330 visit http://www.merceric.com __ ********************************************** This e-mail and any attachments may be confidential or legally privileged. If you received this message in error or are not the intended recipient, you should destroy the e-mail message and any attachments or copies, and you are prohibited from retaining, distributing, disclosing or using any information contained herein. Please inform us of the erroneous delivery by return e-mail. Thank you for your cooperation. ********************************************** ec03/04