# frozen_string_literal: true module RuboCop # This module holds the RuboCop version information. module Version STRING = '0.66.0'.freeze MSG = '%s (using Parser %s, running on ' \ '%s %s %s)'.freeze def self.version(debug = false) if debug format(MSG, version: STRING, parser_version: Parser::VERSION, ruby_engine: RUBY_ENGINE, ruby_version: RUBY_VERSION, ruby_platform: RUBY_PLATFORM) else STRING end end end end