1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in the rdoc for Pathname#existence [ci-skip]

This commit is contained in:
Ryuta Kamizono 2021-12-07 16:00:11 +09:00
parent 26f96b77a2
commit 30ff804ca7

View file

@ -4,7 +4,7 @@ class Pathname
# Returns the receiver if the named file exists otherwise returns +nil+.
# <tt>pathname.existence</tt> is equivalent to
#
# pathname.exists? ? pathname : nil
# pathname.exist? ? pathname : nil
#
# For example, something like
#