class TurboFlash::Configuration
Attributes
action[RW]
clear_unless_flashed[RW]
inherit_flashes[RW]
key[RW]
partial[RW]
target[RW]
value[RW]
Public Class Methods
new()
click to toggle source
# File lib/turbo_flash/configuration.rb, line 7 def initialize @target = 'flash' @action = :update @partial = 'shared/flash' @key = :role @value = :message @clear_target_unless_flashed = true @inherit_flashes = true end
Public Instance Methods
clear_target_unless_flashed?()
click to toggle source
# File lib/turbo_flash/configuration.rb, line 21 def clear_target_unless_flashed? @clear_target_unless_flashed end
inherit_flashes?()
click to toggle source
# File lib/turbo_flash/configuration.rb, line 17 def inherit_flashes? @inherit_flashes end