mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 05:29:10 +02:00
[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
1 changed files with 2 additions and 2 deletions
4
dir.rb
4
dir.rb
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue