(追è¨ï¼2013-08-16) æ¬è¨äºã®ããªãã¢ãå«ãï¼ï¼ã®ããªãã¢ã以ä¸ã®è¨äºã«ã¾ã¨ãã¾ããã ç¥ã£ã¦å¾ããï¼ï¼ï¼ã®Rubyã®ããªãã¢ãªè¨æ³ ãªããããªãã¢äººæ°ãåçãã¦ãããã ç¥ã£ã¦å¾ãã21ã®Rubyã®ããªãã¢ãªè¨æ³ 第ï¼å¼¾ï¼ç¥ã£ã¦å¾ãã12ã®Rubyã®ããªãã¢ãªè¨æ³ ããã§ã¿ããªãããªãã¢å¥½ãã ã¨ãããã¨ãåãã£ãã®ã§ãä½ã¨ãçµãåºãã¦ç¬¬ï¼å¼¾ãæ¸ããããããã§ã¯ç¬¬ï¼å¼¾ã第ï¼å¼¾ã§ä½¿ã£ããã¯ããã¯ã使ã£ã¦ããããç¥ããªããã¯ããã¯ããã£ããå ã«è¦ã¦ãããããããããã 1. Enumerable#each_with_object Enumerable#mapã§ã¯ãããã¯ã®ä»£ããã«&ä»ãã®ã·ã³ãã«ã渡ãæãç¥ããã¦ãããã langs = ["ruby", "python", "lisp", "haskell"] langs.map(&:capitalize) # => ["Ruby"
{{#tags}}- {{label}}
{{/tags}}