moduleInterestBearingdefcalculate_interestputs"Placeholder! we are in <module> InterestBearing"endendclassBankAccountincludeInterestBearingdefcalculate_interestputs"Placeholder! we are in <class> BankAccount"puts""" the method in <class> is
overriding than method in
<module>."""endendaccount=BankAccount.newaccount.calculate_interest
moduleMdefreportputs"'report' method in module M"endendmoduleNdefreportputs"'report' method in module N"endendclassCincludeMincludeNendc=C.newc.report
moduleMdefreportputs"'report' method in module M"endendmoduleNdefreportputs"'report' method in module N"endendclassCincludeMincludeNincludeMendc=C.newc.report# same result (N)
Top comments (0)
Subscribe
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)