summaryrefslogtreecommitdiff
path: root/test/ruby/test_array.rb
diff options
context:
space:
mode:
authorÉtienne Barrié <etienne.barrie@gmail.com>2025-12-15 14:36:53 +0100
committerKevin Newton <kddnewton@gmail.com>2025-12-15 10:52:43 -0500
commitbb0e42c5e706f238dce40abb9cf5322e4a8a73cb (patch)
tree6090cc0ec58332e4fbd0aefc1561cb532c8fc90d /test/ruby/test_array.rb
parentac946e076c0136b070c84f66c8b018f8ab6b2223 (diff)
Define Array#detect as an alias for Array#find
Otherwise Array#detect is Enumerable#detect while Array#find uses a different more performant implementation. [Feature #21678]
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions