зеркало из https://github.com/github/ruby.git
Родитель
c56d0adfa6
Коммит
278a7cb057
2
dir.c
2
dir.c
|
@ -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"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче