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. https://graceful.dev/courses/tapastry/modules/2014/topic/episode-211-protected/
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.
graceful.dev