Class TagPurgeAction
In: lib/mspec/runner/actions/tagpurge.rb
Parent: TagListAction

TagPurgeAction - removes all tags not matching any spec descriptions.

Methods

after   load   new   register   start   unload   unregister  

Attributes

matching  [R] 

Public Class methods

Public Instance methods

Saves any matching tags

Creates a MatchFilter for all tags.

Prints a banner about purging tags.

Rewrites any matching tags. Prints non-matching tags. Deletes the tag file if there were no tags (this cleans up empty or malformed tag files).

[Validate]