When I wrote the following code, it runs normally:
class Application def initialize(name) @name = name end end class Email2 < Application end But when I changed Email2 to Email like this:
class Application def initialize(name) @name = name end end class Email < Application end I got the error message: superclass mismatch for class Email. Please help me.