lib/redis_cleaner.rb
# returns number of keys deleted if
# everything was succesfully deleted otherwise
# return false
returns number of keys deleted if
everything was succesfully deleted otherwise
return false
returns number of keys deleted if everything was succesfully deleted otherwise return false
def remove_from_redis(keys_group = [])
    if redis.del(keys_group) == keys_group.size
      keys_group.size
    else
      false
    end
  end
def remove_from_redis ( keys_group = [ ] ) if redis . del ( keys_group ) == keys_group . size keys_group . size else false end end
returns number of keys deleted if
everything was succesfully deleted otherwise
return false
returns number of keys deleted if everything was succesfully deleted otherwise return false
keys_group