Module: Bridgetown::Routes::FlashHashAdditions

Included in:
ViewHelpers::Flash
Defined in:
lib/bridgetown-routes/flash_additions.rb

Instance Method Summary collapse

Instance Method Details

#alertObject



14
15
16
# File 'lib/bridgetown-routes/flash_additions.rb', line 14

def alert
  self["alert"]
end

#alert=(val) ⇒ Object



18
19
20
# File 'lib/bridgetown-routes/flash_additions.rb', line 18

def alert=(val)
  self["alert"] = val
end

#infoObject



6
7
8
# File 'lib/bridgetown-routes/flash_additions.rb', line 6

def info
  self["info"]
end

#info=(val) ⇒ Object



10
11
12
# File 'lib/bridgetown-routes/flash_additions.rb', line 10

def info=(val)
  self["info"] = val
end