method

set_cache_value

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::Strategy::LocalCache
set_cache_value(value, name, amount, options) protected

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 123
          def set_cache_value(value, name, amount, options)
            if local_cache
              local_cache.mute do
                if value
                  local_cache.write(name, value, options)
                else
                  local_cache.delete(name, options)
                end
              end
            end
          end
Register or log in to add new notes.