Module: SaferRedis::Interceptor
- Defined in:
- lib/safer_redis/interceptor.rb
Instance Method Summary collapse
Instance Method Details
#send_command(command, &block) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/safer_redis/interceptor.rb', line 5 def send_command(command, &block) if SaferRedis.active? SaferRedis::Assessor.assess!( SaferRedis::CommandDoc.from_command_array(command), redis: self, ) end super end |