Method: RuboCop::TargetRuby#rubocop_version_with_support
- Defined in:
- lib/rubocop/target_ruby.rb
#rubocop_version_with_support ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
300 301 302 303 304 305 306 |
# File 'lib/rubocop/target_ruby.rb', line 300 def rubocop_version_with_support if supported? RuboCop::Version::STRING else OBSOLETE_RUBIES[version] end end |