Class: RuboCop::TargetRuby::RuboCopConfig

Inherits:
Source
  • Object
show all
Defined in:
lib/rubocop/target_ruby.rb

Overview

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

Instance Attribute Summary

Attributes inherited from Source

#version

Instance Method Summary collapse

Methods inherited from Source

#initialize, #to_s

Constructor Details

This class inherits a constructor from RuboCop::TargetRuby::Source

Instance Method Details

#nameObject



30
31
32
# File 'lib/rubocop/target_ruby.rb', line 30

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