title: How to override the metaclass constructor in Ruby
body: <p>I want a piece of code to run before any other static methods run, is it possible to do something in the spirit of the following?</p>
  
  <pre><code>class MyClass
    def self.initialize
      @stuff = 1
    end
    def self.print_stuff
      puts @stuff
    end
  end
  </code></pre>
  
  <p>My Ruby version of interest is 2.3.</p>