Ruby Ruby Basics Ruby Syntax Method Arguments

[SOLVED] I added one parameter in the say method, but it will not execute.

I added one parameter in the say method, but it will not execute.

say.rb
def say(name)
  puts name
end

say

1 Answer

I found the solution. It was:

def say(name) puts name end

say("Ruby")