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).
This commit is contained in:
Hartley McGuire 2023-12-30 23:57:50 -05:00
parent 7ce5d10398
commit f042e025c1
No known key found for this signature in database
GPG Key ID: E823FC1403858A82
1 changed files with 4 additions and 4 deletions

View File

@ -160,8 +160,8 @@ module ActiveSupport
# Some implementations may not support all methods beyond the basic cache # Some implementations may not support all methods beyond the basic cache
# methods of #fetch, #write, #read, #exist?, and #delete. # methods of #fetch, #write, #read, #exist?, and #delete.
# #
# ActiveSupport::Cache::Store can store any Ruby object that is supported by # +ActiveSupport::Cache::Store+ can store any Ruby object that is supported
# its +coder+'s +dump+ and +load+ methods. # by its +coder+'s +dump+ and +load+ methods.
# #
# cache = ActiveSupport::Cache::MemoryStore.new # cache = ActiveSupport::Cache::MemoryStore.new
# #
@ -370,8 +370,8 @@ module ActiveSupport
# #
# ==== Options # ==== Options
# #
# Internally, +fetch+ calls #read_entry, and calls #write_entry on a cache # Internally, +fetch+ calls +read_entry+, and calls +write_entry+ on a
# miss. Thus, +fetch+ supports the same options as #read and #write. # cache miss. Thus, +fetch+ supports the same options as #read and #write.
# Additionally, +fetch+ supports the following options: # Additionally, +fetch+ supports the following options:
# #
# * <tt>force: true</tt> - Forces a cache "miss," meaning we treat the # * <tt>force: true</tt> - Forces a cache "miss," meaning we treat the