@@messages_sent = 0
def initialize(from, to)
@from = from
@to = to
@@messages_sent += 1
class Email < Message
@subject = subject
my_message = Message.new('Dio', 'Rush')
When I submit this it returns the error “superclass mismatch for class Email”
I’m getting the same, and the control-f5 trick isn’t working for me.
UPDATE: I just clicked on the notifications icon in the upper right, which took me to a different page, then hit the back button on the browser, and that forced a clean reload (which the f5 didn’t do), and now it works.
All of you guys were actually right about this exercise, by the way thanks mollac, for the tip. Also, I tried pressing the F5 key on my laptop to refresh the site and the code eventually worked out in the end. (so you don’t really need to press Ctrl + F5 if your computer and/or laptop is manufactured different though which is another different matter to concern with)