method
sweep
rails latest stable - Class:
ActionDispatch::Flash::FlashHash
sweep()public
Mark for removal entries that were kept, and delete unkept ones.
This method is called automatically by filters, so you generally don’t need to care about it.