Day31:Rubyの基本を学ぼう ー Classについて 01.Classを作ってみよう 02.より複雑なClassの機能を学ぼう① 上記の2つのコードは、どちらも同じ結果となる。 scores.each { |score| puts score } ↑このコードでも先ほどと同じ結果になる。 scores = {math: 89, english: 56, history: 78} ...