Public Instance methods
flash()
Access the flash hash for the current request, loading it from the session if it is not already loaded.
[show source]
# File lib/roda/plugins/flash.rb 93 def flash 94 # :_flash to support transparent upgrades from previous key 95 @_flash ||= FlashHash.new(session['_flash'] || (session['_flash'] = session.delete(:_flash))) 96 end