{"author_name":"rubytips86","provider_url":"https://hatena.blog","title":"eval\u3067\u30b9\u30bf\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u884c\u756a\u53f7\u3092\u5dee\u3057\u66ff\u3048\u308b","type":"rich","provider_name":"Hatena Blog","blog_url":"https://rubytips86.hatenablog.com/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frubytips86.hatenablog.com%2Fentry%2F2014%2F03%2F28%2F150919\" title=\"eval\u3067\u30b9\u30bf\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u884c\u756a\u53f7\u3092\u5dee\u3057\u66ff\u3048\u308b - Ruby Tips!\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","url":"https://rubytips86.hatenablog.com/entry/2014/03/28/150919","published":"2014-03-28 15:09:19","author_url":"https://blog.hatena.ne.jp/rubytips86/","image_url":null,"blog_title":"Ruby Tips!","categories":[],"height":"190","description":"Kernel.#eval\u3001Module#module_eval\u3001BasicObject#instance_eval\u3067\u306f\u5f15\u6570\u306b\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u884c\u756a\u53f7\u3092\u4e0e\u3048\u308b\u3053\u3068\u3067\u3001\u30b9\u30bf\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u3068\u884c\u756a\u53f7\u3092\u5dee\u3057\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u4ee5\u4e0b\u306f\u6587\u5b57\u5217\u304ctest.rb\u306e100\u884c\u76ee\u306b\u66f8\u304b\u308c\u3066\u3044\u308b\u304b\u306e\u3088\u3046\u306b\u30b9\u30bf\u30c3\u30af\u30c8\u30ec\u30fc\u30b9\u3092\u8868\u793a\u3055\u305b\u308b\u4f8b\u3067\u3042\u308b\u3002 eval(<<EOS, binding, 'test.rb', 100) raise \"error\" EOS filename:100:in `<main>': error (RuntimeError) from /tmp/vCWIAge/65:1:in `eval' fro\u2026","width":"100%"}