Class: FileFormatter
- Inherits:
-
DottedFormatter
- Object
- DottedFormatter
- FileFormatter
- Defined in:
- lib/extensions/mspec/mspec/runner/formatters/file.rb
Instance Attribute Summary
Attributes inherited from DottedFormatter
Instance Method Summary collapse
-
#register ⇒ Object
Unregisters DottedFormatter#before, #after methods and registers #load, #unload, which perform the same duties as #before, #after in DottedFormatter.
Methods inherited from DottedFormatter
#abort, #after, #before, #exception, #exception?, #failure?, #finish, #initialize, #print
Constructor Details
This class inherits a constructor from DottedFormatter
Instance Method Details
#register ⇒ Object
Unregisters DottedFormatter#before, #after methods and registers #load, #unload, which perform the same duties as #before, #after in DottedFormatter.
7 8 9 10 11 12 13 14 15 |
# File 'lib/extensions/mspec/mspec/runner/formatters/file.rb', line 7 def register super MSpec.unregister :before, self MSpec.unregister :after, self MSpec.register :load, self MSpec.register :unload, self end |