instance method
namespace=
Ruby on Rails 8.1.2
Since v8.1.2Signature
namespace=(namespace)
Set the current namespace. Note, this will be ignored if custom options are passed to cache wills with a namespace key.
Parameters
-
namespacereq
Source
# File activesupport/lib/active_support/cache.rb, line 806
def namespace=(namespace)
@options[:namespace] = namespace
end
Defined in activesupport/lib/active_support/cache.rb line 806
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store