A hash isn’t a great choice here, because as soon as you have two students with the same name, the data get overwritten. What you really have is a set of student records so an array of arrays might be more suitable.
student_list = [
%w[Joe 150lbs brown black],
%w[Bob 175lbs blue blonde],
%w[Ray 165lbs green red],
%w[Joe 200lbs blue black]
]
def list_students(list)
list.each do |student|
name, weight, eyes, hair = student
puts "#{name} weighs #{weight} and has #{hair} hair and #{eyes} eyes"
end
end
list_students student_list