Class: PhantomDocFormatter
- Inherits:
-
PhantomFormatter
- Object
- BrowserFormatter
- PhantomFormatter
- PhantomDocFormatter
- Defined in:
- opal/lib/mspec/opal/runner.rb
Instance Method Summary collapse
Methods inherited from PhantomFormatter
Methods inherited from BrowserFormatter
#before , #enter , #exception , #exception? , #failure? , #finish , #finish_with_code , #green , #initialize , #log , #red , #register , #start
Constructor Details
This class inherits a constructor from BrowserFormatter
Instance Method Details
#after(state = nil) ⇒ Object
185 186 187 188
# File 'opal/lib/mspec/opal/runner.rb', line 185 def after(state = nil) (@exception && state) ? red(state.description) : green(state.description) super end