#!/usr/bin/env ruby # -*- coding: utf-8 -*- for i in ["りんご", "みかん", "バナナ"] printf("%sを食べました!\n", i) end