# File lib/facets/core/string/starts_with.rb, line 11
  def ends_with?(str)
    self.rindex( str ) == self.length - str.length
  end