@@ -1779,58 +1779,58 @@ module Kernel : BasicObject
17791779 # * Each of these tests operates only on the entity at `path0`,
17801780 # and returns `true` or `false`;
17811781 # for a non-existent entity, returns `false` (does not raise exception):
1782- # Character |Test
1783- # ------------|------ -------------------------------------------------------------------
1784- # <tt> 'b'</tt> |Whether the entity is a block device.
1785- # <tt> 'c'</tt> |Whether the entity is a character device.
1786- # <tt> 'd'</tt> |Whether the entity is a directory.
1787- # <tt> 'e'</tt> |Whether the entity is an existing entity.
1788- # <tt> 'f'</tt> |Whether the entity is an existing regular file.
1789- # <tt> 'g'</tt> |Whether the entity's setgid bit is set.
1790- # <tt> 'G'</tt> |Whether the entity's group ownership is equal to the caller's.
1791- # <tt> 'k'</tt> |Whether the entity's sticky bit is set.
1792- # <tt> 'l'</tt> |Whether the entity is a symbolic link.
1793- # <tt> 'o'</tt> |Whether the entity is owned by the caller's effective uid.
1794- # <tt> 'O'</tt> |Like <tt> 'o'</tt> , but uses the real uid (not the effective uid).
1795- # <tt> 'p'</tt> |Whether the entity is a FIFO device (named pipe).
1796- # <tt> 'r'</tt> |Whether the entity is readable by the caller's effective uid/gid.
1797- # <tt> 'R'</tt> |Like <tt> 'r'</tt> , but uses the real uid/gid (not the effective uid/gid).
1798- # <tt> 'S'</tt> |Whether the entity is a socket.
1799- # <tt> 'u'</tt> |Whether the entity's setuid bit is set.
1800- # <tt> 'w'</tt> |Whether the entity is writable by the caller's effective uid/gid.
1801- # <tt> 'W'</tt> |Like <tt> 'w'</tt> , but uses the real uid/gid (not the effective uid/gid).
1802- # <tt> 'x'</tt> |Whether the entity is executable by the caller's effective uid/gid.
1803- # <tt> 'X'</tt> |Like <tt> 'x'</tt> , but uses the real uid/gid (not the effective uid/git).
1804- # <tt> 'z'</tt> |Whether the entity exists and is of length zero.
1782+ # Character|Test
1783+ # ---------| -------------------------------------------------------------------
1784+ # ` 'b'` |Whether the entity is a block device.
1785+ # ` 'c'` |Whether the entity is a character device.
1786+ # ` 'd'` |Whether the entity is a directory.
1787+ # ` 'e'` |Whether the entity is an existing entity.
1788+ # ` 'f'` |Whether the entity is an existing regular file.
1789+ # ` 'g'` |Whether the entity's setgid bit is set.
1790+ # ` 'G'` |Whether the entity's group ownership is equal to the caller's.
1791+ # ` 'k'` |Whether the entity's sticky bit is set.
1792+ # ` 'l'` |Whether the entity is a symbolic link.
1793+ # ` 'o'` |Whether the entity is owned by the caller's effective uid.
1794+ # ` 'O'` |Like ` 'o'` , but uses the real uid (not the effective uid).
1795+ # ` 'p'` |Whether the entity is a FIFO device (named pipe).
1796+ # ` 'r'` |Whether the entity is readable by the caller's effective uid/gid.
1797+ # ` 'R'` |Like ` 'r'` , but uses the real uid/gid (not the effective uid/gid).
1798+ # ` 'S'` |Whether the entity is a socket.
1799+ # ` 'u'` |Whether the entity's setuid bit is set.
1800+ # ` 'w'` |Whether the entity is writable by the caller's effective uid/gid.
1801+ # ` 'W'` |Like ` 'w'` , but uses the real uid/gid (not the effective uid/gid).
1802+ # ` 'x'` |Whether the entity is executable by the caller's effective uid/gid.
1803+ # ` 'X'` |Like ` 'x'` , but uses the real uid/gid (not the effective uid/git).
1804+ # ` 'z'` |Whether the entity exists and is of length zero.
18051805 # * This test operates only on the entity at `path0`,
18061806 # and returns an integer size or `nil`:
1807- # Character |Test
1808- # ------------ |--------------------------------------------------------------------------------------------
1809- # <tt> 's'</tt> |Returns positive integer size if the entity exists and has non-zero length, + nil+ otherwise.
1807+ # Character|Test
1808+ # ---------|--------------------------------------------------------------------------------------------
1809+ # ` 's'` |Returns positive integer size if the entity exists and has non-zero length, ` nil` otherwise.
18101810 # * Each of these tests operates only on the entity at `path0`,
18111811 # and returns a Time object;
18121812 # raises an exception if the entity does not exist:
1813- # Character |Test
1814- # ------------ |--------------------------------------
1815- # <tt> 'A'</tt> |Last access time for the entity.
1816- # <tt> 'C'</tt> |Last change time for the entity.
1817- # <tt> 'M'</tt> |Last modification time for the entity.
1813+ # Character|Test
1814+ # ---------|--------------------------------------
1815+ # ` 'A'` |Last access time for the entity.
1816+ # ` 'C'` |Last change time for the entity.
1817+ # ` 'M'` |Last modification time for the entity.
18181818 # * Each of these tests operates on the modification time (`mtime`)
18191819 # of each of the entities at `path0` and `path1`,
18201820 # and returns a `true` or `false`;
18211821 # returns `false` if either entity does not exist:
1822- # Character |Test
1823- # ------------|--------------------------------- ---------------------------------------------------------------
1824- # <tt> '<'</tt> |Whether the <code> mtime</code> at <code> path0</code> is less than that at <code> path1</code> .
1825- # <tt> '='</tt> |Whether the <code> mtime</code> at <code> path0</code> is equal to that at <code> path1</code> .
1826- # <tt> '>'</tt> |Whether the <code> mtime</code> at <code> path0</code> is greater than that at <code> path1</code> .
1822+ # Character|Test
1823+ # ---------| ---------------------------------------------------------------
1824+ # ` '<'` |Whether the ` mtime` at ` path0` is less than that at ` path1` .
1825+ # ` '='` |Whether the ` mtime` at ` path0` is equal to that at ` path1` .
1826+ # ` '>'` |Whether the ` mtime` at ` path0` is greater than that at ` path1` .
18271827 # * This test operates on the content of each of the entities at `path0` and
18281828 # `path1`,
18291829 # and returns a `true` or `false`;
18301830 # returns `false` if either entity does not exist:
1831- # Character |Test
1832- # ------------ |---------------------------------------------
1833- # <tt> '-'</tt> |Whether the entities exist and are identical.
1831+ # Character|Test
1832+ # ---------|---------------------------------------------
1833+ # ` '-'` |Whether the entities exist and are identical.
18341834 #
18351835 def self?.test : (String | Integer cmd, String | IO file1, ?String | IO file2) -> (TrueClass | FalseClass | Time | nil | Integer)
18361836
0 commit comments