Ruby access control (private, public, protected)tamilz·FollowMay 11, 2021--ListenSharepublic: can access by anyone (there is no restrictions)private: can access only by current objectsprotected: can access to all other objects of the same class