Class MethodFormatter
In: lib/mspec/runner/formatters/method.rb
Parent: DottedFormatter

Methods

after   before   finish   method_type   new  

Attributes

methods  [RW] 

Public Class methods

Public Instance methods

Callback for the MSpec :after event. Sets or adds to tallies for the example block.

Callback for the MSpec :before event. Parses the describe string into class and method if possible. Resets the tallies so the counts are only for this example.

Callback for the MSpec :finish event. Prints out the summary information in YAML format for all the methods.

Returns the type of method as a "class", "instance", or "unknown".

[Validate]