2018-03-01ãã1ã¶æéã®è¨äºä¸è¦§
manabiya.techãã¡ãã®MANABIYA.techã¨ããã«ã³ãã¡ã¬ã³ã¹ã§ã¤ã³ãã©æ¹é¢ã®ã»ãã·ã§ã³ãªã¼ãã¼ã§ãããããã¤ã³ã¿ã¼ãããã®ç°ä¸ããããä½ãã©ã? ã¨ãããèªãããã£ãã®ã§ãæè¿èãã¦ããã¨ã話ãããæ©ä¼ã ã¨æã£ã¦ã²ã¨æ ããã¹ã£ã¦ããããã¨ãåãã©â¦
åã«Rubyã§try-with-resourcesã使ãããã¨ãã話ãæ¸ãã¦ãã®ã¨ãã«ãªãªã¼ã¹ããgemããããã人é¡ã®å®å ¨ã«ã»ä¾¿å©ã«ãªã½ã¼ã¹ã解æ¾ãããã¨ãã欲æ±ã«ã¯ééããªãã try-with-resources ã¯ä¾¿å©ãªãã ãã©æ¬ ç¹ããªãããã§ã¯ãªãã¦ããªã½ã¼ã¹ã®ç¢ºä¿ã¨è§£æ¾ãâ¦