# File lib/active_support/core_ext/string/starts_ends_with.rb, line 27
        def ends_with?(suffix)
          suffix.respond_to?(:to_str) && self[-suffix.length, suffix.length] == suffix
        end