module CacheableFlash
NOTE: the CacheableFlash::Config
class is experimental, and no code uses the config settings yet. So using config values will do nothing as of now. These are ust some ideas of what could be…
Constants
- VERSION
Public Class Methods
included(base)
click to toggle source
# File lib/cacheable_flash.rb, line 25 def self.included(base) #base must define around_action or around_filter, as in Rails around_method = if base.respond_to?(:around_action) :around_action else :around_filter end base.send around_method, :write_flash_to_cookie end
stacking()
click to toggle source
simply abstracts the StackableFlash.stacking method
# File lib/cacheable_flash.rb, line 51 def self.stacking StackableFlash.stacking end