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:
parent
26f96b77a2
commit
30ff804ca7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue