Iterating over a hash in ruby Posted Aug 11, 2025 Updated Aug 11, 2025 By Victor Elgersma 1 min read 1 2 3 weekly_meters.each do |week, meters| puts "#{week}: #{meters}" end ruby This post is licensed under CC BY 4.0 by the author. Share