On Sunday, November 28, 2010 10:24:36 am niklas | brueckenschlaeger wrote:
>  class Foo
>     class << self
>       def new
>         raise "Don't do that!"
>       end
>     end
>   end
>   class Bar < Foo
>   end
> 
>   Foo.new #=> raises
>   Bar.new #=> doesn't raise

Yes it does. Try it.

It's a bad idea, anyway.