I've checked earlier chapters, the other 'help' forum in here... and still can't figure out why my code isn't working. I've checked, double-checked, and it's still crashing. "Oops, try again. Did you change Email's initialize method to accept two parameters, 'from' and 'to'?" Yes, I did, thank you very much.
@@messages_sent = 0
def initialize(from, to, messages_sent)
@from = from
@to = to
@@messages_sent += 1
my_message = Message.new("me", "brother", 1)
class Email < Message
def initialize(from, to)
Insight is welcome, wonderful, and appreciated. This should be working, but I'm still too new to figure out why it is not.
Thank you in advance...