Class: RuboCop::TargetRuby::MiseTomlFile Private
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Class Chain:
self,
RubyVersionFile,
Source
|
|
|
Instance Chain:
self,
RubyVersionFile,
Source
|
|
| Inherits: |
RuboCop::TargetRuby::RubyVersionFile
|
| Defined in: | lib/rubocop/target_ruby.rb |
Overview
The target ruby version may be found in a mise.toml file, in a line
starting with ruby = ".
Class Method Summary
Instance Attribute Summary
Instance Method Summary
RubyVersionFile - Inherited
Source - Inherited
Instance Method Details
#filename (private)
[ GitHub ]# File 'lib/rubocop/target_ruby.rb', line 210
def filename 'mise.toml' end
#pattern (private)
[ GitHub ]# File 'lib/rubocop/target_ruby.rb', line 214
def pattern /^ruby = "(?<version>\d+\.\d+)/.freeze end