# File lib/facet/harray.rb, line 411 def rindex(e) i = self.length - 1 while i >= 0 return i if self.fetch(i) == e i -= 1 end return nil end