From 278a7cb057cd7fed2a6284f727c38a1182a31668 Mon Sep 17 00:00:00 2001 From: Yudai Takada Date: Wed, 12 Jun 2024 19:42:01 +0900 Subject: [PATCH] [DOC] Fix a typo in dir.c s/Retruns/Returns/ --- dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dir.c b/dir.c index 0a22ad7901..6d0ad02ee1 100644 --- a/dir.c +++ b/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"