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!
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
not sure what to do
yeah not sure what to do
AJ TranTreehouse Teacher
Hi kyle long!!
With your code snippet, there is just an extra punctuation mark, the period
. is used at the end of the sentence!
However, in Ruby, the
. symbol is used to call an object's methods. Therefore, your code will "pause" and wait for "further instructions" to continue. That is not needed here.
Assuming that you have assigned a value to
say_hi, see my example below:
say_hi = 'hello world' puts say_hi
This example will output a message that says
I hope that this helps you, buddy!