[フレーム]

Class: NodeJSDocFormatter

Inherits:
NodeJSFormatter show all
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

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

AltStyle によって変換されたページ (->オリジナル) /