title: Remove/undef a class method
body: <p>You can dynamically define a class method for a class like so:</p>
  
  <pre><code>class Foo
  end
  
  bar = %q{def bar() "bar!" end}
  Foo.instance_eval(bar)
  </code></pre>
  
  <p>But how do you do the opposite: <strong><em>remove/undefine</em></strong> a class method? I suspect Module's <code>remove_method</code> and <code>undef_method</code> methods might be able to be used for this purpose, but all of the examples I've seen after Googling for hours have been for removing/undefining <em>instance</em> methods, not class methods. Or perhaps there's a syntax you can pass to <code>instance_eval</code> to do this as well.</p>
  
  <p>Thanks in advance.</p>