module Rubocop::Version

This module holds the RuboCop version information.

Constants

MSG
STRING

Public Instance Methods

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