Ruby Private Class Methods
In the Ruby programming language, defined methods come in two variants: instance methods and class methods. Instance methods are available after an object has been initialized, creating an instance. Class methods, on the other hand, are available without creating an instance of the class they are defined upon. However, Ruby class methods have some odd visibility quirks that might not be evident immediately.
Post a comment