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 trial

Ruby Ruby Basics Ruby Syntax Method Arguments

Dont understand

Define a method named say. The say method should take one parameter (name the parameter whatever you want). In the say method body, take the parameter and pass it to puts as an argument. End your program with a call to the say method, and pass the string "Ruby" as an argument.

I don't understand what they want based on how this is worded

say.rb
def say(baconbits)
  puts baconbits
end

say

2 Answers

I can't get this to work either. This is what I wrote:

def say(Chuck_Norris)
  puts "Ruby"
end

Chuck_Norris

You are to pass Ruby as an argument:

say("Ruby")