зеркало из https://github.com/github/ruby.git
43a5c19135
[Feature #19755] Before (in /tmp/test.rb): ```ruby Object.class_eval("p __FILE__") # => "(eval)" ``` After: ```ruby Object.class_eval("p __FILE__") # => "(eval at /tmp/test.rb:1)" ``` This makes it much easier to track down generated code in case the author forgot to provide a filename argument. |
||
---|---|---|
.. | ||
arith_seq | ||
array | ||
bignum | ||
bug_reporter | ||
class | ||
debug | ||
econv | ||
eval | ||
exception | ||
file | ||
float | ||
funcall | ||
gvl | ||
hash | ||
integer | ||
iseq_load | ||
iter | ||
load | ||
marshal | ||
method | ||
num2int | ||
path_to_class | ||
popen_deadlock | ||
postponed_job | ||
proc | ||
rational | ||
st | ||
string | ||
struct | ||
symbol | ||
thread | ||
thread_fd | ||
time | ||
tracepoint | ||
typeddata | ||
vm | ||
wait | ||
win32 | ||
test_abi.rb | ||
test_bug-3571.rb | ||
test_bug-5832.rb | ||
test_bug-14834.rb | ||
test_enumerator_kw.rb | ||
test_notimplement.rb | ||
test_printf.rb | ||
test_random.rb | ||
test_recursion.rb | ||
test_scan_args.rb |