Error in example, Splat!


#1

Hello! Please delete ":" after defining method friend

in example:

def friend(name):
  puts "My friend is " + name + "."
end

must be:

def friend(name)
  puts "My friend is " + name + "."
end

#2

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.