General

Profile

tatethurston (Tate Thurston)

  • Login: tatethurston
  • Registered on: 07/20/2024
  • Last sign in: 07/20/2024

Issues

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

Activity

07/20/2024

02:11 AM Ruby Bug #20643: Ruby 3.2 behavior change for protected and private methods when yield self
jeremyevans0 (Jeremy Evans) wrote in #note-1:
> It is expected, see #18826. As it was a bug fix and not a new feature, it wasn't mentioned in NEWS, though I can see it causing problems for code that relied on the previous behavior.
...
tatethurston (Tate Thurston)
12:45 AM Ruby Bug #20643 (Closed): Ruby 3.2 behavior change for protected and private methods when yield self
I noticed the following behavior change when updating my application from Ruby 3.1 to Ruby 3.2. Using the following code:
``` ruby
class Foo
def try
yield self
end
private
def bar
puts "private method bar ...
tatethurston (Tate Thurston)

Also available in: Atom