# File lib/quiz1/t/solutions/Jim Menard/solitaire_cypher.rb, line 14 def Card.chr_to_value(chr) i = chr[0] - ?A + 1 i += 26 while i < 0 i end