mixins/reverse_indexable_container |
module ReverseIndexableContainer |
Public Methods |
Find the key (or index) for a given value, searching backward through the container using reverse_each_pair
value | the value to search for |
---|
Returns: a key (or index) that matches the given value. If none is found, returns the default value (or if the container has no default value, returns nil). If there are multiple keys that match the value, then the result is indeterminate.