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