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