Skip to content

Commit

Permalink
[DOC] Fix a typo in dir.c
Browse files Browse the repository at this point in the history
s/Retruns/Returns/
  • Loading branch information
ydah authored Jun 12, 2024
1 parent c56d0ad commit 278a7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -3516,7 +3516,7 @@ file_s_fnmatch(int argc, VALUE *argv, VALUE obj)
* call-seq:
* Dir.home(user_name = nil) -> dirpath
*
* Retruns the home directory path of the user specified with +user_name+
* Returns the home directory path of the user specified with +user_name+
* if it is not +nil+, or the current login user:
*
* Dir.home # => "/home/me"
Expand Down

0 comments on commit 278a7cb

Please sign in to comment.