#!/usr/bin/env ruby # -*- coding: utf-8 -*- kago=["トマト","きゅうり","なす","ピーマン"] printf("%sを食べた。かごには%sがある\n"kago.shift)