Skip to content

Commit 46c42a2

Browse files
Omit list for Cache::Store#fetch "Dynamic Options" [ci-skip]
The extra indentation on this list causes it to be rendered as code instead of as an unordered list. But, furthermore, the items in this list should be setter methods for `ActiveSupport::Cache::WriteOptions`, not symbols. Since the `ActiveSupport::Cache::WriteOptions` class is linked in the preceding paragraph, we can simply omit this list.
1 parent 77e5d4e commit 46c42a2

File tree

1 file changed

+0
-6
lines changed
  • activesupport/lib/active_support

1 file changed

+0
-6
lines changed

activesupport/lib/active_support/cache.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -449,12 +449,6 @@ def mute
449449
# token
450450
# end
451451
#
452-
# Only some options can be set dynamically:
453-
#
454-
# - +:expires_in+
455-
# - +:expires_at+
456-
# - +:version+
457-
#
458452
def fetch(name, options = nil, &block)
459453
if block_given?
460454
options = merged_options(options)

0 commit comments

Comments
 (0)