0
Я ищу диапазон здесь, но, похоже, дает мне пустые результаты.Ruby range issue
numbers = ["03","03","06","06","06","07","09","10"]
numbers.each do |n|
result = case n
when 1..5 then "Jan"
when 6..10 then "Feb"
end
puts result
end
Любая помощь? Thanks