[ruby-cvs:79100] b369f5e8a2 (master): Fixed up 0eeed5bcc5530edb0af2af2ccff09d067c59e8f9

"Nobuyoshi Nakada" <[email protected]> Thu, 9 Jan 2020 14:46:39 +0900 (JST)
Newsgroups gmane.comp.lang.ruby.cvs
Message-ID <[email protected]>
Nobuyoshi Nakada	2020-01-09 10:13:08 +0900 (Thu, 09 Jan 2020)

  New Revision: b369f5e8a2

  https://github.com/ruby/ruby/commit/b369f5e8a2

  Log:
    Fixed up 0eeed5bcc5530edb0af2af2ccff09d067c59e8f9
    =

    `Binding#source_location` returns the `__FILE__` when created, and
    may not be an absolute or real path.  And in the `eval` context
    with an explicit file name, `__dir__` also returns that name.
    On the other hand, `__FILE__` in `require`d script file has been
    expanded at searching the library.

  Modified files:
    test/ruby/test_method.rb=