aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorTeddy Wing <git@teddywing.com>2018-04-12 14:32:45 +0200
committerTeddy Wing <git@teddywing.com>2018-04-12 14:56:53 +0200
commit68139de230941c9f17adaec7f535f199be3601fe (patch)
tree0b46e001638f9c239f659218e505a967000441d0 /activesupport
parent2a54f9963eae0592f348b37996e3b9eef85b5b63 (diff)
downloadrails-68139de230941c9f17adaec7f535f199be3601fe.tar.gz
rails-68139de230941c9f17adaec7f535f199be3601fe.tar.bz2
rails-68139de230941c9f17adaec7f535f199be3601fe.zip
Cache::Store#read: Fix fixed-width end tag in docs
* Fix the ending `</tt>` tag for `:expires_in`. Otherwise, the "or" is set in fixed-width also. * Re-wrap paragraph to 80 columns. [ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 6967c164ab..d48a89e7a9 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -333,8 +333,9 @@ module ActiveSupport
# the cache with the given key, then that data is returned. Otherwise,
# +nil+ is returned.
#
- # Note, if data was written with the <tt>:expires_in<tt> or <tt>:version</tt> options,
- # both of these conditions are applied before the data is returned.
+ # Note, if data was written with the <tt>:expires_in</tt> or
+ # <tt>:version</tt> options, both of these conditions are applied before
+ # the data is returned.
#
# Options are passed to the underlying cache implementation.
def read(name, options = nil)