{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftbpgr.hatenablog.com%2Fentry%2F20140510%2F1399724571\" title=\"Ruby | Kernel | eval - Tbpgr Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://tbpgr.hatenablog.com/entry/20140510/1399724571","version":"1.0","width":"100%","provider_url":"https://hatena.blog","title":"Ruby | Kernel | eval","description":"\u6982\u8981 Kernel#eval(expr) -> object Kernel#eval(expr, bind, fname = \"(eval)\", lineno = 1) -> object \u8a73\u7d30 \u6587\u5b57\u5217 expr \u3092 Ruby \u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u3057\u3066\u8a55\u4fa1\u3057\u3066\u305d\u306e\u7d50\u679c\u3092\u8fd4\u3057\u307e \u3059\u3002 \u7b2c2\u5f15\u6570\u306b Binding \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4e0e\u3048\u305f\u5834\u5408\u3001 \u305d\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u751f\u6210\u3057\u305f\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3067\u6587\u5b57\u5217\u3092\u8a55\u4fa1\u3057\u307e\u3059\u3002 \u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9 # encoding: utf-8 eval \"puts :hoge\" hoge = \"\u307b\u3052\" eval \"puts hoge\", binding \u51fa\u529b hoge \u307b\u3052","author_name":"tbpg","published":"2014-05-10 21:22:51","type":"rich","blog_title":"Tbpgr Blog","height":"190","blog_url":"https://tbpgr.hatenablog.com/","categories":["Ruby"],"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/tbpg/","image_url":null}