APIdock / Ruby
/
method

executable_real?

ruby latest stable - Class: FileTest
executable_real?(p1)
public

Returns true if the named file is executable by the real user and group id of this process. See access(3).

static VALUE
rb_file_executable_real_p(VALUE obj, VALUE fname)
{
 if (rb_access(fname, X_OK) < 0) return Qfalse;
 return Qtrue;
}

AltStyle によって変換されたページ (->オリジナル) /