Skip to content

Commit

Permalink
Merge pull request #546 from ruby/pathname-children
Browse files Browse the repository at this point in the history
Let Pathname#children return Array[Pathname]
  • Loading branch information
soutaro authored Dec 23, 2020
2 parents b98cd0a + a5dabbb commit 579f326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/pathname/0/pathname.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 579f326

Please sign in to comment.