# File lib/action_controller/flash.rb, line 141 def flash #:doc: # @session = Hash.new if sessions are disabled if @session.is_a?(Hash) @__flash ||= FlashHash.new # otherwise, @session is a CGI::Session or a TestSession else @session['flash'] ||= FlashHash.new end end