Practice Makes Perfect - can't run greeter method


Hi all,

Getting the error below when I try to run greeter. Can't seem to figure out why there is an issue, anyone have any insight?


Oops, try again.
Your code threw the following exception: uninitialized constant Context::Bar

def greeter(name)
    return "Hello" + name

def by_three?(number)
    return number % 3 == 0



try adding a space after the word Hello in the strnig ""

return "Hello " + name


Didn't work. Figured out the issue though. When I called the greeter method, my name should've been in " ". Forgot about that!

Appreciate the help, thanks!


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