Protected
The distinction between “public” and “private” method visibility in Ruby is pretty obvious. But when should we use “protected” visibility? This episode attempts to answer that question.
Watch this episode with Graceful.Dev Pro, or in one of the courses below. Already a member? Log in.
Responses