Project

General

Profile

Actions

Bug #2782

closed

Binding#eval not completely indicative of its binding

Added by trans (Thomas Sawyer) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
Backport:
[ruby-core:28307]

Description

=begin
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")
=end


Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Bug #1769: eval with binding, without locationClosedmame (Yusuke Endoh)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0