13/20 Am I missing something?


Am I totally missing something? I believe the following code should work, and it seems to work on my local machine in the command line (in irb), but does not allow me to pass the lesson:

alphabet = ["a", "b", "c"]
alphabet = alphabet << "d"
#alphabet.push("d") # Update me!

caption = "A giraffe surrounded by "
caption = caption << "weezards!"
#caption += "weezards!" # Me, too!

Any help would be greatly appreciated! Thanks in advance!


Oooo... Nevermind, that's frustrating. The problem was the comments.

Maybe this is a bug in the design of these lessons?


you could even simplify this one.
caption = "A giraffe surrounded by " <<"weezards"
alphabet = ["a", "b", "c"] << "d"

it worked for me. stuff like that is great because it makes you think further