class RuboCop::TargetRuby::RuboCopConfig

def find_version

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