Learn

Perfect! Let’s go ahead and create an instance of our Message class.

Instructions

1.

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.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?