I have a class with a number of static methods. Each one has to call a common method, but I\'m trying not to expose this latter method. Making it private would only allow acce
You can define a private class method with private_class_method like this:
class Foo def self.bar do_calc end def self.baz do_calc end def self.do_calc #... end private_class_method :do_calc end