Class: Spec::Runner::BacktraceTweaker
- Defined in:
- lib/spec/runner/backtrace_tweaker.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#tweak_instance_exec_line(line, spec_name) ⇒ Object
4 5 6 7 |
# File 'lib/spec/runner/backtrace_tweaker.rb', line 4 def tweak_instance_exec_line line, spec_name line = line.split(':in')[0] + ":in `#{spec_name}'" if line.include?('__instance_exec') line end |