mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[DOC] Fix a typo in dir.c
s/Retruns/Returns/
This commit is contained in:
parent
c56d0adfa6
commit
278a7cb057
1 changed files with 1 additions and 1 deletions
2
dir.c
2
dir.c
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue