Method: DottedFormatter#before

Defined in:
lib/mspec/runner/formatters/dotted.rb

#before(state = nil) ⇒ Object

Callback for the MSpec :before event. Resets the #exception? and #failure flags.



59
60
61
62
# File 'lib/mspec/runner/formatters/dotted.rb', line 59

def before(state=nil)
  @current_state = state
  @failure = @exception = false
end