Learn

Well done! You now have your very own method that adds functionality that Ruby didn’t have before.

Building your own methods is great for using code over and over without having to retype things, but it’s also great for abstracting or simplifying your program. Once you write alphabetize, you don’t ever have to think about how it works—you just call it whenever you need it.

Instructions

Click Run to finish this project and continue your journey toward Ruby Method Mastery.

Take this course for free

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?