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 Variables

Variable calling only one argument not two

I even commented out the instance variables, what I'm I doing wrong?

variables.rb
language = "Ruby"
description = "Awesome"

def languages(language, description)
  #@language = language
  #@description = description
end 

puts "#{language}, #{description}"

1 Answer

Oswaldo Rangel
Oswaldo Rangel
3,554 Points

Hi Victor, you are interpolating twice in one string argument, the challenge is asking you to pass two arguments to the puts function like this: puts "#{language}", "#{description}"

cheers and happy coding!