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 Whitespace Quiz

Eric xiao
Eric xiao
2,060 Points

I am confused with this quiz, is it asking just for a space character?

this looks trivial, but i seem to get it wrong all the time?

1 Answer

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Please refer to this video: https://teamtreehouse.com/library/ruby-basics/ruby-strings/whitespace

Near the end, Jason uses \s, which Ruby translates to space characters and that is what you should use to fill in the gaps (if you're referring to the question that I think you're referring to).