Ruby Ruby Basics Ruby Syntax Method Arguments

Jamal Everett
PRO
Jamal Everett
Pro Student 510 Points

I'm not really sure what I am missing here. It says that I have not defined say but my syntax is correct

def Say(Jamal) puts Jamal end

Say("Ruby")

say.rb
def Say(Jamal)
    puts Jamal
end

Say("Ruby")

1 Answer

Ruby is case-sensitive. This means capital and lowercase letters are different.

"Say" isn't the same thing as "say"!

Rename your function say, and your code should pass.

Happy coding! :grin: :zap: ~Alex