4/19 Need Help On Calling A specific line


I understand how to use arrays, but I am unsure of how to exactly call a specific line in an array or method like they are asking for in 4/19 "Call It". I have been trying many different ways but I can't seem to figure it out. Can anyone help me?


Code in question:

def array_of_10
  puts (1..10).to_a


The nomenclature is a little confusing here. array_of_10 isn't an array at all. It's the name of a method that is defined in the first 3 lines and then called on the 5th.


it still no working!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


Hi everybody!!

I search a solution for my error code... :frowning:


I don't know why this isn't working either????