summaryrefslogtreecommitdiff
path: root/test/ruby/test_method_cache.rb
diff options
context:
space:
mode:
authorAaron Patterson <tenderlove@ruby-lang.org>2025-09-11 17:27:02 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-09-16 17:17:32 +0900
commitca9c0f91311e01625e10272798ff2cc831bbee60 (patch)
tree1b8f6d8e6cf8d5ecd6418189ac7b92fe1bbada1f /test/ruby/test_method_cache.rb
parent674e1d2a5ffe8bfe4b0b691e151492af8287a558 (diff)
[rubygems/rubygems] Use File#chmod rather than FileUtils.chmod
We already have the open file descriptor, so we can avoid the overhead of resolving the filepath (as well as the overhead inside `FileUtils`) by just calling `chmod` on the file descriptor itself. https://github.com/rubygems/rubygems/commit/60c14bbeee
Diffstat (limited to 'test/ruby/test_method_cache.rb')
0 files changed, 0 insertions, 0 deletions