From a5dabbbcd26b95f86c898f1a94825dda1aef0655 Mon Sep 17 00:00:00 2001 From: Soutaro Matsumoto Date: Thu, 24 Dec 2020 00:04:30 +0900 Subject: [PATCH] Let Pathname#children return Array[Pathname] --- stdlib/pathname/0/pathname.rbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/pathname/0/pathname.rbs b/stdlib/pathname/0/pathname.rbs index c91829f2a..731ba3b10 100644 --- a/stdlib/pathname/0/pathname.rbs +++ b/stdlib/pathname/0/pathname.rbs @@ -373,7 +373,7 @@ class Pathname # Note that the results never contain the entries `.` and `..` in the directory # because they are not children. # - def children: (?boolish with_directory) -> untyped + def children: (?boolish with_directory) -> Array[Pathname] # Changes file permissions. #