Class: RuboCop::TargetRuby::RubyVersionFile
- Defined in:
- lib/rubocop/target_ruby.rb
Overview
The target ruby version may be found in a .ruby-version file.
Constant Summary collapse
- FILENAME =
'.ruby-version'
Instance Attribute Summary
Attributes inherited from Source
Instance Method Summary collapse
Methods inherited from Source
Constructor Details
This class inherits a constructor from RuboCop::TargetRuby::Source
Instance Method Details
#name ⇒ Object
45 46 47 |
# File 'lib/rubocop/target_ruby.rb', line 45 def name "`#{FILENAME}`" end |