src code

class method ActiveSupport.Array.indexOf

ActiveSupport.Array.indexOf(array,object[,index]) → Number

Emulates Array.indexOf for implementations that do not support it.