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 95 def flash 96 # :_flash to support transparent upgrades from previous key 97 @_flash ||= FlashHash.new(session['_flash'] || (session['_flash'] = session.delete(:_flash))) 98 end