Class Methods In Ruby: a Thorough Review & Why I Define Them Using class << self
Eliav Lavi

Ruby does supply the private_class_method method in order to declare a class method as private; there is no equivalent for protected methods though.

How exactly do you expect protected_class_methodto behave? There is no such method in ruby on purpose: it makes no sense to declare protected methods on the singleton class.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.