John-Li/my_programs — comment on commit 23f2dcee508e21271f819b6733d9f4afaf4e350a
File: book/arrays/1_dimentional/task-5.rb line 7
By gmile:

Now that you know how to find index of a given element with two lines of code --- I'm officially forbidding you of doing that. Figure out how to do that with one line. (protip: lookin at arrays methods list is still useful...)