Ruby access control (private, public, protected)

tamilz
May 11, 2021

--

public: can access by anyone (there is no restrictions)

private: can access only by current objects

protected: can access to all other objects of the same class

--

--

No responses yet