Log in from a computer to take this course

You'll need to log in from a computer to start Learn Ruby. But you can practice or keep up your coding streak with the Codecademy Go app. Download the app to get started.

apple storegoogle store
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?