__dir__ returns nil in instance_eval/module_eval

Issue #9651 has been updated by Tomoyuki C…

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

r45360 and r45361 were backported to ruby_2_1 branch at r45927.

Bug #9651: dir returns nil in instance_eval/module_eval

  • 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: DONE

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