This seems to be as straight forward as can be, but it keeps going wrong. Up until now it has been going great. Now it has screeched to a halt.
Error : "undefined method `+' for nil:NilClass"
class Message @@messages_sent = 0 def initialize(from,to) @from = from @to = to @messages_sent += 1 end end my_message = Message.new("Herschel","Maryann")
I'm sure it's something simple I'm missing, but what?