Adding simple docs for ActionDispatch::Flash::FlashHash#to_session_value
adding nodoc to private methods
Merge pull request #17728 from jcutrell/jcutrell/docs-to_session_value-for-pr

Adding simple docs for ActionDispatch::Flash::FlashHash#to_session_value