'A'
'Z'
7 8 9 10 11 12 13 14 15 16
# File 'lib/saxlsx/column_name_generator.rb', line 7 def self.next_to(previous) char = previous ? previous[-1] : nil if char.nil? FIRST elsif char < LAST previous[0..-2] + char.next else next_to(previous[0..-2]) + FIRST end end