Skip to content

Commit

Permalink
Remove self referential links from Cache::Store
Browse files Browse the repository at this point in the history
Also swap some method references to code blocks because they aren't
documented (so the auto-references don't work).
  • Loading branch information
skipkayhil committed Dec 31, 2023
1 parent 7ce5d10 commit f042e02
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions activesupport/lib/active_support/cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ def retrieve_store_class(store)
# 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
#
Expand Down Expand Up @@ -370,8 +370,8 @@ def mute
#
# ==== 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:
#
# * <tt>force: true</tt> - Forces a cache "miss," meaning we treat the
Expand Down

0 comments on commit f042e02

Please sign in to comment.