# File lib/core/facets/string/start_with.rb, line 49 def end_with?(suffix) suffix = Regexp.escape(suffix.to_s) unless Regexp===suffix /#{suffix}$/.match(self) ? true : false end