From: Thomas Sawyer Date: 2010-02-23T22:18:25+09:00 Subject: [ruby-core:28307] [Bug #2782] Binding#eval not completely indicative of its binding Bug #2782: Binding#eval not completely indicative of its binding http://redmine.ruby-lang.org/issues/show/2782 Author: Thomas Sawyer Status: Open, Priority: Normal Category: core ruby -v: 1.9.1 binding.eval("__FILE__") does not return the file from which the binding was created. Given the purpose of binding it should hold that: __FILE__ == binding.eval("__FILE__") ---------------------------------------- http://redmine.ruby-lang.org