ruby
ruby copied to clipboard
Make the desired class methods private
The private_class_method
directive needs a list of method names (strings
are converted to symbols for that list) in order to make the methods
private. It does not work the same as the familiar private
method
used at the instance level.
This change creates meta-class instance methods as a group and applies
the familiar private
directive to the methods that follow that
directive.