K
Kurt Euler
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.
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.