class RuboCop::TargetRuby::RuboCopConfig

@api private
The target ruby version may be configured in RuboCop’s config.

def find_version

def find_version
  @config.for_all_cops['TargetRubyVersion']&.to_f
end

def name

def name
  "`TargetRubyVersion` parameter (in #{@config.smart_loaded_path})"
end