æ¸è©ï¼ãåãã¦ã®Rubyãã¯ãããç´ãã®Rubyãã§ãããï¼
çã¾ãã¦åãã¦æ¸è©ã¨ããã®ãæ¸ãã¦ã¿ã¾ãã
Yuguiããï¼id:yuguiï¼ãã初めてのRubyãç®æ¬ãã¦ãããã¾ããã
ä¸è¨ã§è¨ãã¨ããæ¿ããã§ããããã°ã©ãã³ã°è¨èªã«ã¯ãã®è¨èªç¬èªã®æåãããã¾ããããããè¨èã§èª¬æããã®ã¯é£ããã§ãããããèè ã®Yuguiããã¯ããã¨ãã¦ãã¾ãã
ãã®æ¬ã«ã¯Rubyã®èãæ¹ãã®ãã·ãªè©°ã¾ã£ã¦ãã¾ããããããããã ãã®å 容ã§200ãã¼ã¸å¼±ï¼æ¬æï¼ãªã®ã ããã³ã³ãã¯ããã«é©ãã¾ãããã®æ¬ãå®å ¨ã«ç解ãã使ãããªãããªãã¡ã¬ã³ã¹ããã¥ã¢ã«ã§åºæ¬çãªã¯ã©ã¹ãå¦ã¹ã°ããã£ããã¨ä¸ç´è ã¬ãã«ã«å°éã§ããã§ãããã俺ãRubyãå§ããæ代ã¯ãªãã¡ã¬ã³ã¹ããã¥ã¢ã«ããæ´åããã¦ããããã©ãã«ããRubyã®èãæ¹ããè¨ããææ¸ããªãã£ãã®ã§ããã®æ¬ãæã«åããä»ã®äººããããã¾ããã§ãã
ãªãã¨ãã£ã¦ãããåå¿è ãã®å®ç¾©ãæ確ã«ãã¦ããã®ããã°ãããã§ããåå¿è ã«ã¯ãããã°ã©ãã³ã°åå¿è ãã¨ãä»è¨èªã®çµé¨ã®ããRubyåå¿è ãã®2種é¡ãã¾ããããã®æ¬ã¯å¾è ãã¿ã¼ã²ããã«ãã¦ãã¾ããã ãããããã°ã©ãã³ã°åå¿è ã¯ä»æ¸ã¨ä½µç¨ããªãã¨ãã¤ãã§ããããã§ããããã°ã©ãã³ã°ã«å¼·ãèå³ãæã£ã¦ããããæ°ã®ããããã°ã©ãã³ã°åå¿è ãªãã°ãå å ¥è¦³ããªãåéã«ãããªãç解ã§ããããããã¾ãããããããªãç¨èªã¯google大å çã«èãã¾ããã
åå¿è æ¬ã¨ã¯ããã説æãããããããããããã®åã¯æ¸ããã¦ãã¾ããã俺ãæ¬æãèªãã§ã¦ããããããããã¯ç«¯æãããã ããã¨æã£ãããããã«ã¯é©åãªè注ã§å³å¯æ§ã確ä¿ãã¦ãã¾ããããã©ã³ã®çªã£è¾¼ã¿å°ãã§ãããã®è注ãé·ã ã¨ãã¦ãã¾ããã
ãåãã¦ã®Rubyãã¨ããã¿ã¤ãã«ã§ã¯ããã¾ãããä¸ç´è ã復ç¿ã®ããã«èªãã§ã¿ããã¨ããããããã¾ãããªãã¨ãªã使ãã®ã¨ãèãæ¹ãæ確ã«ããã®ã¨ã§ã¯é²æ³¥ã®å·®ã§ããåãã¦ãªãã¬ãããç´ãã®Rubyãã¨ãã¦ãååéç¨ãã¾ãã
ãã©ã¯ã¨ããã¨ãã«åºãã¦ã¿ã¾ãããã
ãã®æ¬ãèªãã ã¬ãã«1ã®éæ³ä½¿ãï¼Ruby使ãï¼ã¯ã¡ã©ã®ä»ã«ãããªããã¡ã©ãããè¦ãã¾ããã¾ã ã¬ãã«1ãªã®ã§å½ç¶ãã®ã©ãã¯ããããã®ã©ããã£ããã¤ãªããè¦ãã¦ãã¾ãããããããååã®æµãªãã°ãã¨ããããªãã«å¼·ãã¦ãã¡ã©ããå±ãã¦ãã¾ãã°å³æ»ã§ãã*1ä»ã®éæ³ä½¿ãããããã£ã¨æ©ã段éã§å¼·æµã¨æ¦ãããã£ã¨ããã¾ã«ã¬ãã«ã¢ããããã®ã¯è¨ãã¾ã§ãããã¾ããã
ã¬ãã«1ã®éæ³ä½¿ãã¯ãã¡ããããã®ã©ããè¦ãã¦ãããã¡ã©ããè¦ãã¦ããªãã¬ãã«15ã®éæ³ä½¿ãã«ãããã®æ¬ã¯è²·ãã§ãã*2ãã¡ãããå§ä¾¶ï¼ä»è¨èªä½¿ãï¼ãã転è·ãã人ãã¡ã¤ã³ã¿ã¼ã²ããã§ããã
ãåãã¦ã®Rubyããåå¿è æ¬ã ã¨æã£ã¦ãã¡ã¦ãããã¨çãç®è¦ãããã¨ããããè²·ã£ã¨ãï¼
ä»äººã®æ¸è©
追è¨
ã¯ã¦ãªããã¯ãã¼ã¯ããã
id:gan2 *ruby, *æ¬æ¸è©ã«ã使ãããã©ã¯ã¨ã¡ã½ãã
ãããããã©ã¯ã¨ã¡ã½ããã£ã¦ãªãã ããï½
ãã®ã©ãè¦ããã¦ã®éæ³ä½¿ãã¯ãã°ã«ã¼ãã«å¤§ãã¡ã¼ã¸ãä¸ãããã¦ãã£ã±ä¿ºTUEEEEEEEEã£ã¦èª¿åä¹ããã¡ã ãããé£çºã§ããã ãã®MPãªãããã«ã
ãã©ã¯ã¨3ã ã¨è¹ã²ãããããã¹ã¼ã®æã¸ä¸ç´ç·ã§é·ã®æåãã«è¡ãããããã®ã©ãã¯ãããããªãåã«ãªã£ã¦ãã¾ãã®ãä¸æ«ã§ãªããªãã
*1:æããå¼±ãããæ®´ãããããã£ã¡ãå³æ»ã ãã¨ããããã³ãã¯ããã¨ãã¦ã
*2:åãã¦ã¡ã©ããè¦ããã¨ãã¯ãã¾ãã®å¨åã«çåä¹±èãããã®ã ã