Method: Cash::Config::ClassMethods#cacheable?

Defined in:
lib/cash/config.rb

#cacheable?(*args) ⇒ Boolean

Returns:

  • (Boolean)


45
46
47
# File 'lib/cash/config.rb', line 45

def cacheable?(*args)
  Cash.enabled && cache_config
end