# File lib/backports/1.9.1/string.rb, line 36 def ord codepoints.first or raise ArgumentError, "empty string" end