mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
reverts r20713
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
365d27a8b9
commit
834e3662ba
2 changed files with 6 additions and 6 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Dec 14 09:14:37 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||
|
||||
* reverts r20713.
|
||||
|
||||
Sun Dec 14 01:35:48 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* process.c (forked_child): new variable.
|
||||
|
|
|
@ -336,12 +336,8 @@ p $!
|
|||
end
|
||||
|
||||
def location e
|
||||
e.backtrace.reverse.inject(""){ |last, s|
|
||||
if s =~ /in .(assert|refute|flunk$|pass$|fail$|raise$)/
|
||||
break last
|
||||
else
|
||||
s
|
||||
end
|
||||
e.backtrace.find { |s|
|
||||
s !~ /in .(assert|refute|flunk|pass|fail|raise)/
|
||||
}.sub(/:in .*$/, '')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue