Sha256: 283aedfc20f04fdbc35cdab4ec3003544171ea59638b4438ea18d8abe2bb3c3f
Contents?: true
Size: 553 Bytes
Versions: 9
Compression:
Stored size: 553 Bytes
Contents
module RR module Errors BACKTRACE_IDENTIFIER = /lib\/rr/ class RRError < RuntimeError attr_writer :backtrace def backtrace original_backtrace = (@backtrace) ? @backtrace : super return original_backtrace unless RR::Space.trim_backtrace return original_backtrace unless original_backtrace.respond_to?(:each) new_backtrace = [] original_backtrace.each do |line| new_backtrace << line unless line =~ BACKTRACE_IDENTIFIER end new_backtrace end end end end
Version data entries
9 entries across 9 versions & 1 rubygems