æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: You should not implement #to_a for your classes åæå ¬éæ¥: 2018/02/02 èè : zverok -- åãµã¤ããrubyreferences.github.ioãã®ä½è ã§ãããã¾ãã Ruby: èªåã®ã¯ã©ã¹ã«#to_aãå®è£ ãã¹ããããªãï¼ç¿»è¨³ï¼ ãã£ã¨ããã®ããã°ãã¨ãã©ãèªãã§ã人ãªãè¨èã®ãããããåç¥ã¨æãã¾ããã¾ãæ¸ãã¦ãã¾ã£ãã æ¨æ¶ä»£ããã«ãRubyã®ä¾¿å©ãªã¤ãã£ãªã ã®ã²ã¨ã¤ã§ããKernel#Arrayã¡ã½ããã«ã¤ãã¦è»½ããããããã¦ããã¾ããããã¾ãã®åããç¥ãããã©ãããªããArrayã«æ±ºã¾ã£ã¦ãã ãï¼ãã¨ãããã¤ã§ãã ãããã¼ã¿ãç¨ãã¦ä½æ¥ãã¦ããã¨ãã«ã1åã®å¤ãå¤ã®é åã®ã©ã¡ãããåãåãã¾ãã¯è¿ãå¯è½æ§ã®ããã¡ã½ããã使ããã¨ãã¾ãããããã®
{{#tags}}- {{label}}
{{/tags}}