Subject: Possible to make compound if statements...
From: Kurt Euler <keuler portal.com>
Date: Wed, 3 Sep 2003 12:54:04 +0900
All-
Is it possible to make compound if statements in Ruby, something like:
if field[0] == "AIX" or if field[2] =~ /ldap/
puts "BLAH"
end
(but different, of course, since the above doesn't work.)
Thanks.