class RuboCop::TargetRuby::RuboCopNextConfig

Private Instance Methods

find_version() click to toggle source
# File lib/ruby-next/rubocop.rb, line 17
def find_version
  version = @config.for_all_cops["TargetRubyVersion"]
  return unless version == "next"

  RUBY_NEXT_VERSION
end