method

to_session_value

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.