Tried web resources and didnt have any luck and my visual quick start guide.
If I have my 2d/multidimensional array:
array = [[\'x\', \'x\',\' x\',\'x\'
array = [['x', 'x',' x','x'], ['x', 'S',' ','x'], ['x', 'x',' x','x']] class Array def my_index item self.each_with_index{|raw, i| return i if raw.include? item} return end end p array.my_index("S") #=>1 p array.my_index("Not Exist Item") #=> nil