Why will a Range not work when descending? [duplicate] November 23, 2023 by Tarik The easiest way to do that is use downto 5.downto(1) do |i| puts i end