Method: SpecdocFormatter#before

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

#before(state) ⇒ Object

Callback for the MSpec :before event. Prints the it block string.



18
19
20
21
# File 'lib/mspec/runner/formatters/specdoc.rb', line 18

def before(state)
  super
  print "- #{state.it}"
end