From: GGarramuno@... (GGarramuno) Date: 2004-01-07T08:51:44+09:00 Subject: File checks.... Is there anything in Ruby similar to Perl's if -r, -x, etc. switches? These switches work with variables as if they were files and they are used in simple, silent and quick constructs like: if -r $file { print "$file is readable\n"; } Or am I forced to write all the code of File.new() and handle the rescue exceptions myself?