module RuboCop::Version

This module holds the RuboCop version information.

Constants

MSG
STRING

Public Class Methods

version(debug = false) click to toggle source
# File lib/rubocop/version.rb, line 10
def self.version(debug = false)
  if debug
    format(MSG, STRING, Parser::VERSION,
           RUBY_ENGINE, RUBY_VERSION, RUBY_PLATFORM)
  else
    STRING
  end
end