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

we use booleans in coding for our program to decide which lines of code to excute in different conditions? true or false

is it possible to store a gash in a variable ? true or false? an until loop is used to repeat an action a set number of times? true or false? Please help me with these questions, just started learning ruby but need these answers, thank you in advanced

1 Answer

I presume You mean "Hash" and not "Gash". Yes You can store hash in a variable. Hash is a variable that can store other variables within itself in no particular order (unlike Array).

Yes You can use "Until" to repeat certain action number of times or While loop aswell. There are multiple ways to do one thing in Ruby.

Thanks a bunch. I wasn't really sure about the hash. I know booleans are true false , <>= != etc. but not sure about the true false question.