Class: RuboCop::TargetRuby::RuboCopConfig Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Source
|
|
Instance Chain:
self,
Source
|
|
Inherits: |
RuboCop::TargetRuby::Source
|
Defined in: | lib/rubocop/target_ruby.rb |
Overview
The target ruby version may be configured in RuboCop’s config.
Class Method Summary
Instance Attribute Summary
Instance Method Summary
Instance Method Details
#find_version (private)
[ GitHub ]# File 'lib/rubocop/target_ruby.rb', line 60
def find_version @config.for_all_cops['TargetRubyVersion']&.to_f end
#name
[ GitHub ]# File 'lib/rubocop/target_ruby.rb', line 54
def name "`TargetRubyVersion` parameter (in #{@config.smart_loaded_path})" end