# File lib/facet/array/last_index.rb, line 10 def last_index return nil if self.length == 0 self.length - 1 end