Module: Raw::Mixin::Sweeper

Extended by:
Caching, EncodeURI
Defined in:
lib/raw/mixin/sweeper.rb

Overview

This module adds cleanup functionality to managed classes. Override and implement sweep_affected. Typically used to cleanup output caching files from the filesystem. But you can also use it to clean up temp objects in the database or other temp files. – FIXME: find a better name. ++