class

FlashContainer

Inherits Reference / Object

Flash message container.

Constants

VERSION = "0.1.0"

Shard version.

Constructors

new(store : Hash(String, String))
Source

Class methods

from_session(json : String)

Creates FlashContainer instance based on stringified JSON.

Source
from_session(_json : Nil)
Source
key=(key : String)
Source

Instance methods

[](key : Symbol)
Source
[]=(key : Symbol, value : String)
Source
[]?(key : Symbol)
Source
[]?(key : String)
Source
each
Source
fetch(key : String, default_value : String | Nil)
Source
fetch(key : Symbol, default_value : String | Nil)
Source
fetch(key : String)
Source
fetch(key : Symbol)
Source
keep(key = nil)
Source
now(key, value : String | Nil)
Source
to_session
Source

Macros

method_missing(call)
Source