Hi there. I keep getting a error saying I didn't define a method. I did what was is the video?
Am I doing something wrong?
def first(say) puts first first(ruby)
In ruby, method definitions always end with the
end keyword. It's missing in your solution.
Rewriting your solution to include the
end keyword and the method call, the answer should look like this:
def first(say) puts first end first(ruby)