shoulda-context icon indicating copy to clipboard operation
shoulda-context copied to clipboard

Drop `Proc#bind`

Open Earlopain opened this issue 1 year ago • 0 comments

Proc responds to instance_exec since forever ago. Official Ruby docs only go back to 2.0, so I added that as the minimum version, if someone should for some reason still use rubies before that.

https://docs.ruby-lang.org/en/2.0.0/BasicObject.html#method-i-instance_exec

Stumbled over this because of https://github.com/rubocop/rubocop-performance/issues/464. The next version will be 3.0.0, seems appropriate to drop in a major version.

Earlopain avatar Sep 13 '24 17:09 Earlopain