diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-09 10:13:08 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-01-09 10:13:08 +0900 |
| commit | b369f5e8a2c1e4bc90c561365d42dc5674f83d6e (patch) | |
| tree | d2582e0674bf5fe3359f7581de8d2feb470f9619 /spec/ruby/core/array | |
| parent | d254d5563e0e599f25aca9507683ee0abb9e18de (diff) | |
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.
Diffstat (limited to 'spec/ruby/core/array')
0 files changed, 0 insertions, 0 deletions
