Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1
Maybe you can simply test it by modifying something in several ways.
8th Jan 2022, 9:12 AM
FanYu
FanYu - avatar
+ 1
"Public Methods are those methods which can be called by anyone. As we know that access control works only on methods, so by default all the methods are public." https://www.geeksforgeeks.org/ruby-access-control/
8th Jan 2022, 9:16 AM
FanYu
FanYu - avatar