Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Basics (Retired) Ruby Strings String Methods

mamadou badiane
mamadou badiane
9,005 Points

string methods

Fill in the blanks to call the method that would first reverse the characters in a string, and then make them lowercase.

name = "Treehouse"

name.reverse.downcase

4 Answers

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

I just tried the quiz and your answer passed.

There are two fields in the question. The first one gets just reverse and the second field gets just downcase. You don't type or add anything else (eg no symbols) and all in lower case.

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

I'm not sure I understand your question.

The code you have posted is correct.

Could you provide more specifics as to the problem you are experiencing, so I am more able to assist?

:)

mamadou badiane
mamadou badiane
9,005 Points

It tell me that my answer is wrong. I don't know why??????

mamadou badiane
mamadou badiane
9,005 Points

Thanks I didn't seen the second field