This is unnecessary.
```ruby
[1] pry(main)> class Foo
[1] pry(main)*   private
[1] pry(main)*   def self.bar
[1] pry(main)*     puts "bar"
[1] pry(main)*   end
[1] pry(main)* end
=> nil
[2] pry(main)> Foo.bar
bar
=> nil
```