From f042e025c1f3edee8e1f0b357e2a75e4e6a4c28e Mon Sep 17 00:00:00 2001 From: Hartley McGuire Date: Sat, 30 Dec 2023 23:57:50 -0500 Subject: [PATCH] Remove self referential links from Cache::Store Also swap some method references to code blocks because they aren't documented (so the auto-references don't work). --- activesupport/lib/active_support/cache.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index a21c3b1c098..40a4b646a5e 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -160,8 +160,8 @@ module ActiveSupport # Some implementations may not support all methods beyond the basic cache # methods of #fetch, #write, #read, #exist?, and #delete. # - # ActiveSupport::Cache::Store can store any Ruby object that is supported by - # its +coder+'s +dump+ and +load+ methods. + # +ActiveSupport::Cache::Store+ can store any Ruby object that is supported + # by its +coder+'s +dump+ and +load+ methods. # # cache = ActiveSupport::Cache::MemoryStore.new # @@ -370,8 +370,8 @@ module ActiveSupport # # ==== Options # - # Internally, +fetch+ calls #read_entry, and calls #write_entry on a cache - # miss. Thus, +fetch+ supports the same options as #read and #write. + # Internally, +fetch+ calls +read_entry+, and calls +write_entry+ on a + # cache miss. Thus, +fetch+ supports the same options as #read and #write. # Additionally, +fetch+ supports the following options: # # * force: true - Forces a cache "miss," meaning we treat the