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!