module SimpleCov::Configuration
def nocov_token(nocov_token=nil)
Configure with SimpleCov.nocov_token('skip') or it's alias SimpleCov.skip_token('skip')
can be configured to be any other string using this.
the coverage metrics by wrapping it inside # :nocov: comment blocks. The nocov token
Certain code blocks (i.e. Ruby-implementation specific code) can be excluded from
def nocov_token(nocov_token=nil) return @nocov_token if @nocov_token and nocov_token.nil? @nocov_token = (nocov_token || 'nocov') end