ä¸ççã«ãæåãªRubyã®ä½è Matzãã¨ã¾ã¤ãã¨ããã²ãæ°ã®æ°ããããã°ã©ãã³ã°è¨èªãStreemãã®ãªãã¸ããªãGitHubã§å ¬éããã注ç®ãæµ´ã³ã¦ãã¾ãã 説æã«ããã¨Streemã¨ã¯ãã¹ããªã¼ã ãã¼ã¹ã®ä¸¦è¡ã¹ã¯ãªããè¨èªããã·ã§ã«ã¨ä¼¼ãããã°ã©ãã³ã°ã¢ãã«ãåºç¤ã¨ãã¦ãRubyãErlangããã®ä»é¢æ°åããã°ã©ãã³ã°è¨èªã«æåããã¦ããã¨ãããã¨ã ä¾ãã°ã·ã³ãã«ãªcatããã°ã©ã ã¯ã以ä¸ã®ããã«è¨è¿°ããã¾ãã STDIN | STDOUT ããã«FizzBuzzåé¡ã¯ãã®ããã«ã seq(100) | {|x| if x % 15 == 0 { "FizzBuzz" } else if x % 3 == 0 { "Fizz" } else if x % 5 == 0 { "Buzz" } else { x } } | STDOUT ã·ã³ãã«ã§ããããã¤ãã§ã¤ãªããã¨ãããã·ã§ã«
{{#tags}}- {{label}}
{{/tags}}