instance method
merged_options
Ruby on Rails 6.0.6
Since v5.2.8.1 Private — implementation detail, not part of the public APISignature
merged_options(call_options)
Merges the default options with ones specific to a method call.
Parameters
-
call_optionsreq
Source
# File activesupport/lib/active_support/cache.rb, line 607
def merged_options(call_options)
if call_options
if options.empty?
call_options
else
options.merge(call_options)
end
else
options
end
end
Defined in activesupport/lib/active_support/cache.rb line 607
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store