Module: RuboCop::Select

Defined in:
lib/rubocop/select.rb,
lib/rubocop/select/cli.rb,
lib/rubocop/select/file.rb,
lib/rubocop/select/version.rb

Defined Under Namespace

Classes: CLI, File

Constant Summary collapse

VERSION =
'2.0.0'
MSG =
'%s (using RuboCop %s, running on %s %s %s)'

Class Method Summary collapse

Class Method Details

.version(debug = false) ⇒ Object



9
10
11
12
13
14
15
16
# File 'lib/rubocop/select/version.rb', line 9

def version(debug = false)
  if debug
    format(MSG, VERSION, ::RuboCop::Version.version(false),
           RUBY_ENGINE, RUBY_VERSION, RUBY_PLATFORM)
  else
    VERSION
  end
end