Rubyã«ããCSVãã¼ã¿å¦çã®æ¹è¨çã§ãã - ãµã³ãã«ã¹ã¯ãªãã - require 'csv' require 'pp' data = langs = CSV.parse(data, ",") pp langs #ãããã°æ langs.each do |item| item.each do |col| print col, "|" end print "\n" end ï¼ã¹ã¯ãªããã®èª¬æï¼ CSV.parseã¡ã½ããã¯ã第ä¸å¼æ°ã®æååï¼æ¹è¡ãå«ãã§ãè¯ãï¼ãã äºæ¬¡å é åã«å¤æãããªãã¸ã§ã¯ããè¿ãã¾ãã ãã®ã¹ã¯ãªããã®å ´åãpp langsã®è¡ã§ã [["Ruby", "Java", "Perl", "Python"], ["Macintosh", "Windows", "Linux", "Free BSD", "PC-8801"], ["IE7", "Firefox", "
{{#tags}}- {{label}}
{{/tags}}