12. Inheritance Syntax

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

Please help me. I’m not sure what I’m supposed to do. It wants me to make my new class(MyApp) inherit from the old class(Application).
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/ruby-beginner-en-MFiQ6/2/2?curriculum_id=5059f8619189a5000201fbcb#

<In what way does your code behave incorrectly? Include ALL error messages.>
It gives me this error code message:
superclass mismatch for class MyApp

```

class Application
def initialize(name)
@name = name
end
end

Add your code below!

class MyApp < Application
end

<do not remove the three backticks above>

Can’t reproduce

What? I don’t get what you mean

Pasting the code above into the exercise you linked to does not produce the error message that you described.

Either your environment is different (unlikely) or you were doing something different from what you described in your post.

Looking up that error message with your search engine of choice might turn up something that is similar to what you did. (Error messages are generally easy to search for)

It wasn’t working earlier but now it is. Thank you

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.