Module: Maxitest::VerboseAssertion

Defined in:
lib/maxitest/verbose_backtrace.rb

Instance Method Summary collapse

Instance Method Details

#messageObject



26
27
28
29
30
31
32
# File 'lib/maxitest/verbose_backtrace.rb', line 26

def message
  if Maxitest::VerboseBacktrace.verbose
    "#{self.class}: #{super}\n    #{backtrace.join "\n    "}"
  else
    super
  end
end