diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-14 17:20:57 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-11-14 17:20:57 +0900 |
commit | b01118f29c6cd4d74b0f7a9c1976c9b242528677 (patch) | |
tree | 7af7635435da145dad006a54dd632e611408b6ff | |
parent | 99355122753c4f2ac002fb55e0b31924e0e1cee4 (diff) |
[DOC] Describe Dir.home
-rw-r--r-- | dir.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -3478,6 +3478,9 @@ 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+ + * if it is not +nil+, or the current login user: + * * Dir.home # => "/home/me" * Dir.home('root') # => "/root" * |