Rubyの魔法:instance_evalとinstance_execを使いこなす|TechRacho by BPS株式会社
Rubyの柔軟さを象徴するメソッドのひとつに、instance_evalとinstance_execがあります