ruby icon indicating copy to clipboard operation
ruby copied to clipboard

Make the desired class methods private

Open kotp opened this issue 2 years ago • 0 comments

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.

kotp avatar Jun 20 '22 05:06 kotp