Skip to content

Commit aab04ec

Browse files
Merge pull request rails#46479 from felipedmesquita/patch-2
Fix markdown inline code typo [ci-skip]
2 parents 095b1f1 + c644df1 commit aab04ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/active_support_core_extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4088,7 +4088,7 @@ Extensions to Pathname
40884088

40894089
### `existence`
40904090

4091-
The [`existence`][Pathname#existence] method returns the receiver if the named file exists otherwise returns +nil+. It is useful for idioms like this:
4091+
The [`existence`][Pathname#existence] method returns the receiver if the named file exists otherwise returns `nil`. It is useful for idioms like this:
40924092

40934093
```ruby
40944094
content = Pathname.new("file").existence&.read

0 commit comments

Comments
 (0)