__dir__ returns nil in instance_eval/module_eval

Issue #9651 has been updated by Tomoyuki C…

Backport changed from 2.0.0: REQUIRED, 2.1: REQUIRED to 2.0.0: DONE,
2.1: REQUIRED

r42230 and r42231 were backported to ruby_2_0_0 at r45473. These
changesets were required for resolv conflict.
And r45360 and r45361 were backported to ruby_2_0_0 at r45474.


Bug #9651: dir returns nil in instance_eval/module_eval
https://bugs.ruby-lang.org/issues/9651#change-46005

  • Author: Tomoyuki C.
  • Status: Closed
  • Priority: Normal
  • Assignee: Shota F.
  • Category: core
  • Target version: current: 2.2.0
  • ruby -v: 2.1.1
  • Backport: 2.0.0: DONE, 2.1: REQUIRED

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs