0
ここで範囲を検索していますが、空白の結果が出るようです。Rubyの範囲の問題
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
助けが必要ですか? ありがとう