18/20


#1

Hi Friends,
Not sure what I am doing wrong here, any ideas? I have tried playing around with lots of parameter variations but to no avail!

class Message
@@messages_sent = 0
def initialize(from, to)
@from = from
@to = to
@@messages_sent += 1
end
end
my_messgae = Message.new(@from, @to)


#2

Looks like a simple misspelling error on your last line there bud.

change "my_messgae" to "my_message" and your code should past. details are a pain sometimes but you gotta focus on everything. and notice the smallest and slightest details.


#3

also you might want to change @to and @from to a string that you want to pass through the class