The error I'm getting for the code below is: (ruby):9: syntax error, unexpected ',', expecting ')'
my_message = Message.new (Miami, Los Angeles).
The instructions are asking: After your class, create a variable called my_message.
Create an instance of your Message class using Message.new with whatever from and to arguments you want! Store the result in my_message.
My code is the following:
def initialize (from, to)
@from = from
@to = to
@@message_sent += 1
@@messages_sent = 0
my_message = Message.new (Miami, Los Angeles)
Could anyone help me understand why this is incorrect?