module Roda::RodaPlugins::Flash::InstanceMethods

def flash

it from the session if it is not already loaded.
Access the flash hash for the current request, loading
def flash
  # :_flash to support transparent upgrades from previous key
  @_flash ||= FlashHash.new(session['_flash'] || (session['_flash'] = session.delete(:_flash)))
end