# File lib/facets/more/cookie.rb, line 54 def head_match?(str1, str2) str1 == str2[0, str1.length] end