method
to_session_value
v4.2.7 -
Show latest stable
- Class:
ActionDispatch::Flash::FlashHash
to_session_value()public
Builds a hash containing the discarded values and the hashes representing the flashes. If there are no values in @flashes, returns nil.