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