From 5de91258bea9931c9c13d9d7a713cc686001bd94 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sat, 17 Sep 2016 15:17:11 +0900 Subject: fix formatting of `Cache::Store#fetch` [ci skip] Single backticks don't work with rdoc. --- activesupport/lib/active_support/cache.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activesupport/lib/active_support/cache.rb') diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb index 8ef91fa3f0..e71f2673ab 100644 --- a/activesupport/lib/active_support/cache.rb +++ b/activesupport/lib/active_support/cache.rb @@ -200,15 +200,15 @@ module ActiveSupport # You may also specify additional options via the +options+ argument. # Setting force: true forces a cache "miss," meaning we treat # the cache value as missing even if it's present. Passing a block is - # required when `force` is true so this always results in a cache write. + # required when +force+ is true so this always results in a cache write. # # cache.write('today', 'Monday') # cache.fetch('today', force: true) { 'Tuesday' } # => 'Tuesday' # cache.fetch('today', force: true) # => ArgumentError # - # The `:force` option is useful when you're calling some other method to + # The +:force+ option is useful when you're calling some other method to # ask whether you should force a cache write. Otherwise, it's clearer to - # just call `Cache#write`. + # just call Cache#write. # # Setting :compress will store a large cache entry set by the call # in a compressed format. -- cgit v1.2.3