Class: Bridgetown::Routes::ViewHelpers::Flash
- Inherits:
-
Hash
- Object
- Hash
- Bridgetown::Routes::ViewHelpers::Flash
- Defined in:
- bridgetown-routes/lib/bridgetown-routes/view_helpers.rb
Overview
This flash is only used as a stub for views in case there’s no Roda flash available in the rendering context
Instance Method Summary collapse
Instance Method Details
#alert ⇒ Object
17 18 19 |
# File 'bridgetown-routes/lib/bridgetown-routes/view_helpers.rb', line 17 def alert self["alert"] end |
#alert=(val) ⇒ Object
21 22 23 |
# File 'bridgetown-routes/lib/bridgetown-routes/view_helpers.rb', line 21 def alert=(val) self["alert"] = val end |
#info ⇒ Object
9 10 11 |
# File 'bridgetown-routes/lib/bridgetown-routes/view_helpers.rb', line 9 def info self["info"] end |
#info=(val) ⇒ Object
13 14 15 |
# File 'bridgetown-routes/lib/bridgetown-routes/view_helpers.rb', line 13 def info=(val) self["info"] = val end |
#now ⇒ Object
25 26 27 |
# File 'bridgetown-routes/lib/bridgetown-routes/view_helpers.rb', line 25 def now self end |