General

Profile

kapitan_morgan (Yaromir Bartosh)

Issues

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

Activity

06/10/2020

12:34 PM Ruby Bug #16947: private method unexpected behavior
```ruby
class Person
def speak
puts "Hey, Tj!"
end
def whisper_louder
whisper
end
def whisper_self
self.whisper
end
private
def whisper
puts "His name's not really 'Tj'."
end
end
p = Person.new
p...
kapitan_morgan (Yaromir Bartosh)
12:18 PM Ruby Bug #16947 (Closed): private method unexpected behavior
private method called explicitly through self should return an error, but in version 2.7.1 an error does not occur and the method is executed kapitan_morgan (Yaromir Bartosh)

Also available in: Atom