Ruby - Advanced Metaprogramming
What is wrong with this code?
class Base
def self.inherited
puts "Subclass created"
end
end
class Derived < Base; end