diff options
author | Stan Lo <stan001212@gmail.com> | 2024-05-01 22:23:05 +0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-05-01 14:23:09 +0000 |
commit | 1000c27db861a4c405dcea12be391df031a14fdc (patch) | |
tree | 03c1a0e0da774ca4028e08fac1551a1ab2fcb05f /lib/rubygems/commands/push_command.rb | |
parent | 2a978ee04732e719fb905af1baa03932b68a048a (diff) |
[ruby/irb] Support `IRB.conf[:BACKTRACE_FILTER]`
(https://github.com/ruby/irb/pull/917)
* Use 'irbtest-' instead if 'irb-' as prefix of test files.
Otherwise IRB would mis-recognize exceptions raised in test files as
exceptions raised in IRB itself.
* Support `IRB.conf[:BACKTRACE_FILTER]``
This config allows users to customize the backtrace of exceptions raised
and displayed in IRB sessions. This is useful for filtering out library
frames from the backtrace.
IRB expects the given value to response to `call` method and return
the filtered backtrace.
https://github.com/ruby/irb/commit/6f6e87d769
Diffstat (limited to 'lib/rubygems/commands/push_command.rb')
0 files changed, 0 insertions, 0 deletions