[solved] 9/21 Help Me to Pass


#1

Why doesn't work?

my code like this
please Explain this.

def greeter
    yield
end

phrase = Proc.new do 
    puts "Hello there!"
end
greeter.collect!(&phrase)

#2

def greeter
    yield
end

phrase = Proc.new do 
    puts "Hello there!"
end
greeter(&phrase)

#3

Thanks so much just replace this

phrase = Proc.new do 
    puts "Hello there!"
end
greeter(&phrase)