8/19 return greeting with names ... I'm stuck please help


#1

what's wong in there ?
def greeter(*names)
names.each {|name|, return "#{greeting}, #{name}!"}
end

def by_three(n)
if n%3==0
return true
else
return false
end
end


#2

found it :smile:

def greeter(name)
return "greeting" + name
end

def by_three?(n)
if n%3==0
return true
else
return false
end
end