diff options
author | Nobuyoshi Nakada <[email protected]> | 2025-05-20 22:12:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2025-05-20 22:12:58 +0900 |
commit | d0a8f6baa71d320e4bdc2420a2a30ef150dfa8e4 (patch) | |
tree | 667013ed88517bdf327de59becfe92cd57d9012c | |
parent | 8dbff6e402d7a490e6e624256699362bb713986d (diff) |
[DOC] Fix call-seq of Dir.glob
`patterns` may be an array but not the rest argument.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13378
-rw-r--r-- | dir.rb | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -224,8 +224,8 @@ class Dir end # call-seq: - # Dir.glob(*patterns, flags: 0, base: nil, sort: true) -> array - # Dir.glob(*patterns, flags: 0, base: nil, sort: true) {|entry_name| ... } -> nil + # Dir.glob(patterns, flags: 0, base: nil, sort: true) -> array + # Dir.glob(patterns, flags: 0, base: nil, sort: true) {|entry_name| ... } -> nil # # Forms an array _entry_names_ of the entry names selected by the arguments. # |