instance method
normalize_version
Ruby on Rails 7.0.10
Since v5.2.8.1 Private — implementation detail, not part of the public APISignature
normalize_version(key, options = nil)
No documentation comment.
Parameters
-
keyreq -
optionsopt = nil
Source
# File activesupport/lib/active_support/cache.rb, line 764
def normalize_version(key, options = nil)
(options && options[:version].try(:to_param)) || expanded_version(key)
end
Defined in activesupport/lib/active_support/cache.rb line 764
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store