Thank you for being patient. We are doing some work on the site and will be back shortly.
ã¿ã¤ãã«ã¯é£ãã§ããRuby ã«ç²ç®çã«æãã¦ããè¿çã«ã¯ Ruby ã®ççï¼ãã°ãï¼ã¯ã¨ã¯ãã§ãã ããã¯ã¨ãããã ã¡ã½ããåã®å¥åããããã ãããªã㯠map æ´¾ï¼ãããã¨ã collect æ´¾ï¼ãã£ã¦ããåããã¾ãå«ãã ããï¼å¥åã«ãæ義ãããã¨ã¯æããã ãã©ï¼è¨æ¶ã®è² æ ã大ããã èªåã§ã¯ map ãã使ããªãã¦ãï¼ä»äººã®ã³ã¼ãèªããã ã£ãã collect ãç¥ã£ã¦ããªãã¡ããªããªãã ãã°ããåã« reduce ã£ã¦ããã¡ã½ããè¦ã¦ï¼ãããªã®ãã£ãã£ãï¼ã¨æã£ãã inject ã®å¥åã ã£ãã map/collect 㨠inject/reduce ã®ååã¨ãã®èæ¯ã«ããçºæ³ã«ã¤ãã¦ã¯ï¼Rubyist Magazine ã«è¯ãè¨äºãããï¼ ãããã¨æãã°ï¼Array#delete_if 㨠Array#reject! ã¿ããã«ï¼åãã¯åºæ¬çã«åãã ãã©ï¼åé¤ãè¡ãããªãã£
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}