class RuboCop::TargetRuby::RuboCopEnvVar
‘RUBOCOP_TARGET_RUBY_VERSION` environment variable.
The target ruby version may be configured by setting the
def find_version
def find_version ENV.fetch('RUBOCOP_TARGET_RUBY_VERSION', nil)&.to_f end
def name
def name '`RUBOCOP_TARGET_RUBY_VERSION` environment variable' end