summaryrefslogtreecommitdiff
path: root/dir.rb
AgeCommit message (Collapse)Author
2025-05-20[DOC] Fix call-seq of Dir.globNobuyoshi Nakada
`patterns` may be an array but not the rest argument. Notes: Merged: https://github.com/ruby/ruby/pull/13378
2025-01-02[DOC] Exclude 'Class' and 'Module' from RDoc's autolinkingNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12496
2025-01-02[DOC] Exclude 'Method' from RDoc's autolinkingNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/12496
2024-04-15show warning for unused blockKoichi Sasada
With verbopse mode (-w), the interpreter shows a warning if a block is passed to a method which does not use the given block. Warning on: * the invoked method is written in C * the invoked method is not `initialize` * not invoked with `super` * the first time on the call-site with the invoked method (`obj.foo{}` will be warned once if `foo` is same method) [Feature #15554] `Primitive.attr! :use_block` is introduced to declare that primitive functions (written in C) will use passed block. For minitest, test needs some tweak, so use https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a for `test-bundled-gems`.
2023-11-14[DOC] Fix doc/regexp.rdoc linksNobuyoshi Nakada
- Rename regexp.rdoc to exclude from "Pages". This file is for to be included in the "class Regexp" document, but it also appeared as a separate page duplicately. - Fix links on case-sensitive filesystems. - Fix to use rdoc-ref instead of converted HTML page names.
2023-07-24[rubygems/rubygems] Bundler: Update bundle-outdated(1) manKentaro Takeyama
Updated output examples to current format since the output format has changed since version 2.2.0.dev https://github.com/rubygems/rubygems/commit/48d98f906a
2023-07-20More RDoc for Dir.glob (#8088)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2023-07-04[DOC] Dir doc (#8014)Burdette Lamar
Notes: Merged-By: peterzhu2118 <[email protected]>
2022-06-10fix typo in dir documentation (#6002)Jaeson Lauritzen
Notes: Merged-By: k0kubun <[email protected]>
2022-03-30Repair format for What's Here in Dir (#5737)Burdette Lamar
Notes: Merged-By: BurdetteLamar <[email protected]>
2022-02-19[DOC] prefer rdoc references over generated URLsNobuyoshi Nakada
2022-01-04Fix documentation for Dir.globJeremy Evans
Dir.glob("*", File::FNM_DOTMATCH) no longer includes ".." in the returned array as of Ruby 3.1. Fixes [Bug #18436]
2021-11-05[DOC] Needs `call-seq` directives [ci skip]Nobuyoshi Nakada
2021-11-05[DOC] Markup the literal false, and constant [ci skip]Nobuyoshi Nakada
2021-09-13Links for What's Here sections (#4827)Burdette Lamar
Makes What's Here sections in Time and Dir link to What's Here for super and included modules (like all the others). Notes: Merged-By: BurdetteLamar <[email protected]>
2021-08-31Match parens for hidden files parentheticalHiroshi SHIBATA
Co-authored-by: Josh Soref <[email protected]>
2021-08-27[DOC] Fix a typo in Dir.fnmatchHenrik Nyh
Notes: Merged: https://github.com/ruby/ruby/pull/4781
2021-07-01[DOC] fixed the default value of flags [ci skip]Nobuyoshi Nakada
2021-07-01[DOC] expanded `pattern`s in examples of File.fnmatch [ci skip]Nobuyoshi Nakada
2021-06-07[DOC] fix metacharacter markups [ci skip]Nobuyoshi Nakada
2021-06-07dir.rb: moved class rdoc from dir.cNobuyoshi Nakada
2021-05-21[DOC] Moved `File.fnmatch?` to dir.rbNobuyoshi Nakada
So that no longer disturbed by C comment delimiters. Notes: Merged: https://github.com/ruby/ruby/pull/4514
2020-10-27[DOC] more precise description of "**" in Dir.glob pattern [ci skip]Nobuyoshi Nakada
2020-10-26[DOC] Expanded glob patterns for Dir.globNobuyoshi Nakada
No longer need to get rid of C block comments in builtin ruby script comments.
2020-10-25[DOC] refined "**" description in `Dir.glob` [ci skip]Nobuyoshi Nakada
As same as the description for `File.fnmatch`. [Bug #17283]
2020-06-19[Feature #16254] Use `Primitive.func` styleNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3165
2020-06-19[Feature #16254] Use `__builtin.func` styleNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3165
2020-04-06Moved `Dir.[]` to dir.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3006
2020-04-06Moved `Dir.glob` to dir.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3006
2020-04-06Moved `Dir.open` and `Dir#initialize` to dir.rbNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/3006