Methods, blocks and sorting, the greeting one 3. create your own


i am having trouble figuring out how to get this to work i tried it multiple different ways with no luck

def greeting
    puts "greetings"

and i keep getting this no matter what i put in for the code,

Oops, try again. It looks like you didn't print anything to the console.

please help.


HI do you still have this part

# Define your method above this line.

greeting # Ignore this for now. We'll explain
         # it in the next exercise!

under your code?


no that was gone after i started i got rid of it but i got it now thanks anyway :relieved:
it just just took a little bit more tinkering.:smiley_cat: