module RedisCodeCov::Base
common code for various classes (controller, models, etc)
Public Instance Methods
redis_code_cov(key)
click to toggle source
# File lib/redis_code_cov.rb, line 12 def redis_code_cov key # => increment the counter unless ClassName.method_name is specifically excluded in initializer REDIS_CODE_COV.incr key unless EXCLUDE_REDIS_CODE_COV.include? key rescue Exception => e # => TODO - for now just doing nothing end