Skip to content

Commit

Permalink
FIX add srem_returns_boolean method to namespace (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilchandler authored Jun 3, 2023
1 parent 0826717 commit 6395515
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/redis/namespace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,11 @@ class Namespace
# This is used by the Redis gem to determine whether or not to display that deprecation message.
@sadd_returns_boolean = true

# This is used by the Redis gem to determine whether or not to display that deprecation message.
@srem_returns_boolean = true

class << self
attr_accessor :sadd_returns_boolean
attr_accessor :sadd_returns_boolean, :srem_returns_boolean
end

attr_writer :namespace
Expand Down

0 comments on commit 6395515

Please sign in to comment.