Expected behavior.
In the inherited method, self and klass are A and B respectively, which are instances of Class.
Protected methods can be called from a same class instance.
Expected behavior.
In the inherited method, self and klass are A and B respectively, which are instances of Class.
Protected methods can be called from a same class instance.
Thank you very much!
My mistake, I mixed up with the private scope.
I'm terrible sorry for this.