title: Is there a hook similar to Class#inherited that's triggered only after a Ruby class definition?
body: <p><code>#inherited</code> is called right after the <code>class Foo</code> statement. I want something that'll run only after the <code>end</code> statement that closes the class declaration.</p>
  
  <p>Here's some code to exemplify what I need:</p>
  
  <pre><code>class Class
    def inherited m
      puts "In #inherited for #{m}"
    end
  end
  
  class Foo
    puts "In Foo"
  end
  puts "I really wanted to have #inherited tiggered here."
  
  
  ### Output:
  # In #inherited for Foo
  # In Foo
  # I really wanted to have #inherited tiggered here.
  </code></pre>
  
  <p>Does anything like that exist? Can it be created? Am I totally out of luck?</p>