Skip to content

Commit 8d43180

Browse files
committed
fix private constant as rubocop warns
1 parent f76ae66 commit 8d43180

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/dalli/protocol/base.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,10 @@ def quiet?
152152

153153
# NOTE: Additional public methods should be overridden in Dalli::Threadsafe
154154

155+
ALLOWED_QUIET_OPS = %i[add replace set delete incr decr append prepend flush noop].freeze
156+
155157
private
156158

157-
ALLOWED_QUIET_OPS = %i[add replace set delete incr decr append prepend flush noop].freeze
158159
def verify_allowed_quiet!(opkey)
159160
return if ALLOWED_QUIET_OPS.include?(opkey)
160161

0 commit comments

Comments
 (0)