method
rassoc
![Some documentation Importance_1](https://d2vfyqvduarcvs.cloudfront.net/images/importance_1.png?1349367920)
rassoc(p1)
public
Searches through the array whose elements are also arrays.
Compares obj with the second element of each contained array using obj.==.
Returns the first contained array that matches obj.
See also Array#assoc.
a = [ [ 1, "one"], [2, "two"], [3, "three"], ["ii", "two"] ] a.rassoc("two") #=> [2, "two"] a.rassoc("four") #=> nil