undefined method 'meow' for Cat:class

Okay So... I was simply doing... uh.. "stuff" and I came across this error.

sD0Xfev.png


I don't know how It happened, so I wanted to just give you the "script" I was doing:

class Animal def breathe end def walk end def jump endendclass Cat < Animal def meow print "Meow!" endendclass Dog < Animal def bark print "Bark!" endendAs You can See I defined "meow". But what is the problem?
Game_Interpreter 1411 is the Script event command.  

You have probably done Cat.meow in a script command instead of instantiating a cat object from the class.
Thank you, I was confused why doesn't it work, I thought It could work without an new object.

Original thread: https://forums.rpgmakerweb.com/threads/undefined-method-meow-for-cat-class.50513/