# File lib/openid/util.rb, line 23 def starts_with?(other) other = other.to_str head = self[0, other.length] head == other end