Package org.jruby
Class RubyFileTest
java.lang.Object
org.jruby.RubyFileTest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
MRI defines the FileTest methods both as module functions on FileTest and as singleton methods on the File class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject
blockdev_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
blockdev_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
chardev_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
chardev_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static RubyModule
createFileTestModule
(ThreadContext context) static IRubyObject
directory_p
(Ruby ruby, IRubyObject filename) Deprecated.static IRubyObject
directory_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
directory_p
(ThreadContext context, IRubyObject filename) static IRubyObject
directory_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
executable_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
executable_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
executable_real_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
executable_real_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
exist_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
exist_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static RubyBoolean
file_p
(IRubyObject recv, IRubyObject filename) Deprecated.static RubyBoolean
file_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
grpowned_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
grpowned_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
identical_p
(IRubyObject recv, IRubyObject filename1, IRubyObject filename2) Deprecated.static IRubyObject
identical_p
(ThreadContext context, IRubyObject recv, IRubyObject filename1, IRubyObject filename2) static IRubyObject
owned_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
owned_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
pipe_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
pipe_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
readable_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
readable_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
rowned_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
rowned_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
setgid_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
setgid_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
setuid_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
setuid_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
size
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
size
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
size_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
size_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
socket_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
socket_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
sticky_p
(IRubyObject recv, IRubyObject filename) Deprecated.static IRubyObject
sticky_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static RubyBoolean
symlink_p
(IRubyObject recv, IRubyObject filename) Deprecated.static RubyBoolean
symlink_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
worldReadable
(ThreadContext context, IRubyObject recv, IRubyObject filename) static IRubyObject
worldWritable
(ThreadContext context, IRubyObject recv, IRubyObject filename) static RubyBoolean
writable_p
(IRubyObject recv, IRubyObject filename) Deprecated.static RubyBoolean
writable_p
(ThreadContext context, IRubyObject recv, IRubyObject filename) static RubyBoolean
zero_p
(IRubyObject recv, IRubyObject filename) Deprecated.static RubyBoolean
zero_p
(ThreadContext context, IRubyObject recv, IRubyObject filename)
-
Constructor Details
-
RubyFileTest
public RubyFileTest()
-
-
Method Details
-
createFileTestModule
-
blockdev_p
-
blockdev_p
@Deprecated(since="10.0") public static IRubyObject blockdev_p(IRubyObject recv, IRubyObject filename) Deprecated. -
chardev_p
-
chardev_p
@Deprecated(since="10.0") public static IRubyObject chardev_p(IRubyObject recv, IRubyObject filename) Deprecated. -
directory_p
@Deprecated(since="10.0") public static IRubyObject directory_p(IRubyObject recv, IRubyObject filename) Deprecated. -
directory_p
Deprecated. -
directory_p
public static IRubyObject directory_p(ThreadContext context, IRubyObject recv, IRubyObject filename) -
directory_p
-
executable_p
public static IRubyObject executable_p(ThreadContext context, IRubyObject recv, IRubyObject filename) -
executable_p
@Deprecated(since="10.0") public static IRubyObject executable_p(IRubyObject recv, IRubyObject filename) Deprecated. -
executable_real_p
public static IRubyObject executable_real_p(ThreadContext context, IRubyObject recv, IRubyObject filename) -
executable_real_p
@Deprecated(since="10.0") public static IRubyObject executable_real_p(IRubyObject recv, IRubyObject filename) Deprecated. -
exist_p
Deprecated. -
exist_p
-
file_p
Deprecated. -
file_p
-
grpowned_p
-
grpowned_p
@Deprecated(since="10.0") public static IRubyObject grpowned_p(IRubyObject recv, IRubyObject filename) Deprecated. -
identical_p
public static IRubyObject identical_p(ThreadContext context, IRubyObject recv, IRubyObject filename1, IRubyObject filename2) -
owned_p
-
owned_p
Deprecated. -
pipe_p
-
pipe_p
Deprecated. -
readable_p
@Deprecated(since="10.0") public static IRubyObject readable_p(IRubyObject recv, IRubyObject filename) Deprecated. -
readable_p
-
rowned_p
-
rowned_p
@Deprecated(since="10.0") public static IRubyObject rowned_p(IRubyObject recv, IRubyObject filename) Deprecated. -
setgid_p
-
setgid_p
@Deprecated(since="10.0") public static IRubyObject setgid_p(IRubyObject recv, IRubyObject filename) Deprecated. -
setuid_p
-
setuid_p
@Deprecated(since="10.0") public static IRubyObject setuid_p(IRubyObject recv, IRubyObject filename) Deprecated. -
size
Deprecated. -
size
-
size_p
Deprecated. -
size_p
-
socket_p
-
socket_p
Deprecated. -
sticky_p
-
sticky_p
Deprecated. -
symlink_p
-
symlink_p
Deprecated. -
writable_p
-
writable_p
Deprecated. -
zero_p
Deprecated. -
zero_p
-
worldReadable
public static IRubyObject worldReadable(ThreadContext context, IRubyObject recv, IRubyObject filename) -
worldWritable
public static IRubyObject worldWritable(ThreadContext context, IRubyObject recv, IRubyObject filename) -
identical_p
@Deprecated public static IRubyObject identical_p(IRubyObject recv, IRubyObject filename1, IRubyObject filename2) Deprecated.
-