aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/cache.rb
diff options
context:
space:
mode:
authorKoichi ITO <koic.ito@gmail.com>2017-05-24 15:21:02 +0900
committerKoichi ITO <koic.ito@gmail.com>2017-05-24 15:21:17 +0900
commitbef95d372f9104a321cf17ac9f45316e9caac920 (patch)
tree6d80b7dd9318f2383b0808167c7ff3f9aadcb0d4 /activesupport/lib/active_support/cache.rb
parent525586417ef22928353efb4e670268ddd25cd94e (diff)
downloadrails-bef95d372f9104a321cf17ac9f45316e9caac920.tar.gz
rails-bef95d372f9104a321cf17ac9f45316e9caac920.tar.bz2
rails-bef95d372f9104a321cf17ac9f45316e9caac920.zip
Fix a RuboCop offences using `rubocop -a`
Diffstat (limited to 'activesupport/lib/active_support/cache.rb')
-rw-r--r--activesupport/lib/active_support/cache.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 44f80dd379..a1093a2e23 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -536,7 +536,6 @@ module ActiveSupport
end
end
-
# Prefixes a key with the namespace. Namespace and key will be delimited
# with a colon.
def normalize_key(key, options)
@@ -587,7 +586,6 @@ module ActiveSupport
ActiveSupport::Notifications.instrument("cache_#{operation}.active_support", payload) { yield(payload) }
end
-
def log
return unless logger && logger.debug? && !silence?
logger.debug(yield)