2010-08-14 17 views

risposta

64

array.include?('two') rendimenti true o false

6

è possibile utilizzare:

array.index('two') 

tornerà indice oggetto, se presente il resto tornerà a zero.

Problemi correlati