From: Yusuke Endoh Date: 2010-04-11T14:20:54+09:00 Subject: [ruby-core:29443] [Feature #2782] Binding#eval not completely indicative of its binding Issue #2782 has been updated by Yusuke Endoh. Assigned to set to Yukihiro Matsumoto Hi, 2010/2/23 Thomas Sawyer : > 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__") In the current semantics, I guess binding does not includes the imformation of filename and lineno. At least, this is not a bug. I moved the ticket to Feature tracker. -- Yusuke ENDOH ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2782 ---------------------------------------- http://redmine.ruby-lang.org