9. Create your own


#1

This appears to work, but then I get an 'oops' error when I submit. Any ideas?

def greeter
yield
end

phrase = Proc.new {puts "Hello There!"}

greeter(&phrase)

Thanks


#2

Maybe take away the blank space between Proc. new and the curly braces?


#3

make sure the "T" in "There" is not capitalized.


#6

def greeter
yield
end

phrase = Proc.new { puts "Hello there!" }
greeter(&phrase)


#7

I was having the same issue and this worked for me. Thanks.

It’s annoying how little errors like that can halt progress…


#8