[DOC] Fix call-seq of Dir.glob
`patterns` may be an array but not the rest argument.
This commit is contained in:
parent
8dbff6e402
commit
d0a8f6baa7
Notes:
git
2025-05-20 13:20:33 +00:00
4
dir.rb
4
dir.rb
@ -224,8 +224,8 @@ class Dir
|
|||||||
end
|
end
|
||||||
|
|
||||||
# call-seq:
|
# call-seq:
|
||||||
# Dir.glob(*patterns, flags: 0, base: nil, sort: true) -> array
|
# 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) {|entry_name| ... } -> nil
|
||||||
#
|
#
|
||||||
# Forms an array _entry_names_ of the entry names selected by the arguments.
|
# Forms an array _entry_names_ of the entry names selected by the arguments.
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user