#!/usr/bin/env ruby # -*- coding: utf-8 -*- require 'csv' CSV.open("tango.csv","w+")do|tango| tango<<["プログラミング","音楽","プログラミング 意味","音楽 意味"] tango<<["chomp","agitato","chomp...\nを消す"] tango<<["case","animato","case.....式に対する分岐"] tango<<["def","con brio","def......"] tango<<["elsif","cantabile","elsif."] tango<<["else","capriccioso","else."] tango<<["end","dolce","end........終わり"] tango<<["gets","elegante"] tango<<["if","energico"] tango<<["ls","espressiuo"] tango<<["print","con fuoco"] tango<<["puts","grandioso"] tango<<["printf","llegiero"] tango<<["ruby","maestoso"] tango<<["rand","misterioso"] tango<<["sleep","con moto"] tango<<["to_i","ppssinato"] tango<<["to_f","pastorale"] tango<<["while","pesante"] tango<<["when","schezando"] end