General

Profile

dpepper (Daniel Pepper)

  • Login: dpepper
  • Registered on: 06/05/2023
  • Last sign in: 10/01/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 0 0

Activity

10/09/2025

11:44 PM Ruby Feature #15590: Add dups to Array to find duplicates
I stumbled upon this thread during my own quest to find duplicates in an array. Here's a PR to create `Array#duplicates?`. If that gains any traction, maybe we could follow with `Array#duplicates` to return the actual list of duplicate... dpepper (Daniel Pepper)

06/05/2023

04:29 AM Ruby Revision 542c70aa (git): [ruby/singleton] Simplify implementation of `Singleton#instance`.
(https://github.com/ruby/singleton/pull/9)
- Add more tests to cover rails' usage.
dpepper (Daniel Pepper)
03:53 AM Ruby Bug #19711: NoMethodError "private method `new' called for class" since bebd05fb51ea65bc57344b67100748200f8311eb
Looks like https://github.com/rails/rails/blob/main/activesupport/test/deprecation_test.rb calls `.new` on the Deprecation Singleton a bunch of places. This behavior _should_ not be possible on a singleton, however `.new` is explicitly ... dpepper (Daniel Pepper)

06/03/2023

12:35 AM Ruby Revision bebd05fb (git): [ruby/singleton] Simplify the implementation
(https://github.com/ruby/singleton/pull/7)
Remove `__init__` and move logic to `included`.
dpepper (Daniel Pepper)

Also available in: Atom