Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSaadia Fattah
1,939 PointsIn 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.
def say(cats)
puts cats
end
def ruby(
2 Answers
KRIS NIKOLAISEN
54,971 PointsTo call your function you type the name followed by parentheses. Within the parentheses is where you place your argument.
say("Ruby")
Saadia Fattah
1,939 PointsThank you!