Jay Fields' Thoughts: Move eval from Run-time to Parse-time Rubyã«ããã¦ãå®è¡æã«evalããã®ã¯ããã©ã¼ãã³ã¹ãåé¡ã«ãªããã¨ããããæååã解éããã³ã¹ãã馬鹿ã«ãªããªãã®ã ãã ããevalã¯æ¥µåé¿ããã¹ãâ¦ãªãã ãä¾å¤ãããã ã¦ã§ãã¢ããªã±ã¼ã·ã§ã³ãªã©èµ·åæéã¯ãã»ã©åé¡ã§ã¯ãªããé·æé稼åãããã¢ããªã±ã¼ã·ã§ã³ã®å ´åãæºåã«ã¯å¤å°æéãããã¦ãããã ãã稼åä¸ã«å®è¡ããevalãæºåä¸ã«ç§»åããã®ã¯æå¹ãªãªãã¡ã¯ã¿ãªã³ã°ã ã Person.attr_with_defaultã¯ããã©ã«ãå¤ã¤ãã®attr_readerã ãPerson#emailsã¨Person#employee_numberãããã©ã«ãå¤ã¤ãã§å®ç¾©ãããããããããããã®ã¡ã½ãããå¼ãã ã ãã§evalãããã®ã¯å¹çé¢ã§åé¡ã ã class Person
{{#tags}}- {{label}}
{{/tags}}