class ActionDispatch::Flash::FlashNow

:nodoc:

def [](k)

def [](k)
  @flash[k.to_s]
end

def []=(k, v)

def []=(k, v)
  k = k.to_s
  @flash[k] = v
  @flash.discard(k)
  v
end

def alert=(message)

Convenience accessor for flash.now[:alert]=.
def alert=(message)
  self[:alert] = message
end

def initialize(flash)

def initialize(flash)
  @flash = flash
end

def notice=(message)

Convenience accessor for flash.now[:notice]=.
def notice=(message)
  self[:notice] = message
end