Ruby Ruby Basics Ruby Syntax Method Arguments

Saadia Fattah
Saadia Fattah
1,939 Points

In this challenge it says to pass the string "Ruby" as an argument I don't understand what it means?

End your program with a call to the say method, and pass the string "Ruby" as an argument. That's the part of the challenge I'm having trouble with.

say.rb
def say(cats) 
  puts cats
end

def ruby(

2 Answers

KRIS NIKOLAISEN
PRO
KRIS NIKOLAISEN
Pro Student 44,827 Points

To call your function you type the name followed by parentheses. Within the parentheses is where you place your argument.

say("Ruby")