Range class offers a simple way to convert a range into an array with to_a.
('A'..'Z').to_a.each { |letter| print letter }