instance method
delete
Ruby on Rails 3.2.22.5
Since v3.1.12Signature
delete(key)
No documentation comment.
Parameters
-
keyreq
Source
# File actionpack/lib/action_dispatch/middleware/flash.rb, line 118
def delete(key)
@flashes.delete key
self
end
Defined in actionpack/lib/action_dispatch/middleware/flash.rb line 118
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Flash::FlashHash