[DOC] Fix a typo in dir.c

s/Retruns/Returns/
This commit is contained in:
Yudai Takada 2024-06-12 19:42:01 +09:00 committed by GitHub
parent c56d0adfa6
commit 278a7cb057
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
dir.c
View File

@ -3516,7 +3516,7 @@ file_s_fnmatch(int argc, VALUE *argv, VALUE obj)
* call-seq: * call-seq:
* Dir.home(user_name = nil) -> dirpath * 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: * if it is not +nil+, or the current login user:
* *
* Dir.home # => "/home/me" * Dir.home # => "/home/me"