File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/Cache/expand_cache_key-c.ri
U:RDoc::AnyMethod[iI"expand_cache_key:ETI"+ActiveSupport::Cache::expand_cache_key;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"HExpands out the +key+ argument into a key that can be used for the ;TI"Gcache store. Optionally accepts a namespace, and all keys will be ;TI""scoped within that namespace.;To:RDoc::Markup::BlankLine o;
; [I"MIf the +key+ argument provided is an array, or responds to +to_a+, then ;TI"Keach of elements in the array will be turned into parameters/keys and ;TI"1concatenated into a single key. For example:;T@o:RDoc::Markup::Verbatim; [I"VActiveSupport::Cache.expand_cache_key([:foo, :bar]) # => "foo/bar"
;TI"`ActiveSupport::Cache.expand_cache_key([:foo, :bar], "namespace") # => "namespace/foo/bar"
;T:@format0o;
; [I"FThe +key+ argument can also respond to +cache_key+ or +to_param+.;T:
@fileI" lib/active_support/cache.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(key, namespace = nil);T@FI"
Cache;TcRDoc::NormalModule00