instance method
restore_mem_share
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
restore_mem_share(filename)
Restores a data structure from a shared memory cache. You should consider these elements as “read only”. If restoring the data structure failed for any reason, nil will be returned.
- filename
-
Name of the file belonging to the data structure.
Parameters
-
filenamereq
Source
# File activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb, line 67
def restore_mem_share(filename)
get_from_memory_cache(filename, @mem_share_cache)
end
Defined in activesupport/lib/active_support/vendor/xml-simple-1.0.11/xmlsimple.rb line 67
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in XmlSimple::Cache