Class Index [+]

Quicksearch

Spec::Runner::QuietBacktraceTweaker

Tweaks raised Exceptions to mask noisy (unneeded) parts of the backtrace

Constants

IGNORE_PATTERNS

Public Class Methods

new(*patterns) click to toggle source
    # File lib/spec/runner/backtrace_tweaker.rb, line 63
63:       def initialize(*patterns)
64:         super
65:         ignore_patterns(*patterns)
66:       end

Public Instance Methods

ignore_patterns(*patterns) click to toggle source
    # File lib/spec/runner/backtrace_tweaker.rb, line 68
68:       def ignore_patterns(*patterns)
69:         @ignore_patterns += patterns.flatten.map { |pattern| Regexp.new(pattern) }
70:       end
ignored_patterns() click to toggle source
    # File lib/spec/runner/backtrace_tweaker.rb, line 72
72:       def ignored_patterns
73:         IGNORE_PATTERNS + @ignore_patterns
74:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.