Class: NodeJSDocFormatter
- Inherits:
-
NodeJSFormatter
- Object
- BrowserFormatter
- NodeJSFormatter
- NodeJSDocFormatter
- Defined in:
- opal/lib/mspec/opal/runner.rb
Instance Method Summary collapse
Methods inherited from NodeJSFormatter
#after , #finish_with_code , #green , #log , #red
Methods inherited from BrowserFormatter
#after , #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
#print_example(state) ⇒ Object
192 193 194
# File 'opal/lib/mspec/opal/runner.rb', line 192 def print_example(state) (@exception && state) ? red(state.description+"\n") : green(state.description+"\n") end