Module: Test::Unit::Util::BacktraceFilter
- Defined in:
- lib/test-unit-ext/backtrace-filter.rb
Constant Summary collapse
- TEST_UNIT_EXT_PREFIX =
File.dirname(__FILE__)
Instance Method Summary collapse
Instance Method Details
#filter_backtrace(backtrace, prefix = nil) ⇒ Object
10 11 12 13 |
# File 'lib/test-unit-ext/backtrace-filter.rb', line 10 def filter_backtrace(backtrace, prefix=nil) original_result = original_filter_backtrace(backtrace, prefix) original_filter_backtrace(original_result, TEST_UNIT_EXT_PREFIX) end |
#original_filter_backtrace ⇒ Object
9 |
# File 'lib/test-unit-ext/backtrace-filter.rb', line 9 alias_method :original_filter_backtrace, :filter_backtrace |