Module Magic! Error


Module Magic
Super. Let's move on to modules!

Create your own module called Languages in the editor to the right. Include a constant called FAVE and set it equal to a string naming your favorite programming language!

module Languages
    FAVE = "Ruby"

So, basically, I have refreshed my browser, tried using "include" before FAVE. Am I missing something?


You have 2 errors as I see there.
1. Did you create a module called Languages?
2. Syntax error, unexpected keyword "end", expecting $end

Try debugging both of them. I'm not on the course so I can't see the assignment unfortunately.


Thanks for the input; I ended up finding the error. It was let it pass with "ruby" instead of "Ruby"


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.