instance method
write
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
write(name, value, options = nil)
No documentation comment.
Parameters
-
namereq -
valuereq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache/memory_store.rb, line 33
def write(name, value, options = nil)
super
@data[name] = value.freeze
end
Defined in activesupport/lib/active_support/cache/memory_store.rb line 33
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::MemoryStore