Please explain the three levels of access control for Ruby methods?

Submitted by: Muhammad
In Ruby, methods may either be public, protected, or private. Public methods can be called by anyone. Protected methods are only accessible within their defining class and its subclasses. Private methods can only be accessed and viewed within their defining class.
Submitted by: Muhammad

Read Online Ruby Developer Job Interview Questions And Answers