4/19 Need Help On Calling A specific line


#1

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?


#2

Code in question:

def array_of_10
  puts (1..10).to_a
end

array_of_10

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.


#3

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


#4

Hi everybody!!

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


#5

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