How come this approach of creating a private class method works:
class Person def self.get_name persons_name end class << self private
As of ruby 2.3.0
class Check def self.first_method second_method end private def self.second_method puts "well I executed" end end Check.first_method #=> well I executed