class RuboCop::TargetRuby::ToolVersionsFile
The target ruby version may be found in a .tool-versions file, in a line starting with ‘ruby`. @api private
Constants
- TOOL_VERSIONS_FILENAME
- TOOL_VERSIONS_PATTERN
Public Instance Methods
Source
# File lib/rubocop/target_ruby.rb, line 188 def name "`#{TOOL_VERSIONS_FILENAME}`" end
Private Instance Methods
Source
# File lib/rubocop/target_ruby.rb, line 194 def filename TOOL_VERSIONS_FILENAME end