Project

General

Profile

ActionsLike0

Bug #2782

closed

Binding#eval not completely indicative of its binding

Added by trans (Thomas Sawyer) about 15 years ago. Updated almost 14 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 - Bug #1769: eval with binding, without locationClosedmame (Yusuke Endoh)Actions
#2

Updated by mame (Yusuke Endoh) almost 15 years ago

  • Assignee set to matz (Yukihiro Matsumoto)
#3

Updated by mame (Yusuke Endoh) almost 15 years ago

  • Target version set to 3.0
#4

Updated by mame (Yusuke Endoh) almost 15 years ago

  • Assignee changed from matz (Yukihiro Matsumoto) to mame (Yusuke Endoh)
  • Target version changed from 3.0 to 1.9.2
#5

Updated by mame (Yusuke Endoh) almost 15 years ago

  • Status changed from Open to Closed
ActionsLike0

Also available in: Atom PDF