123456789_123456789_123456789_123456789_123456789_

Class: RuboCop::CLI::Command::Version Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base
Instance Chain:
self, Base
Inherits: RuboCop::CLI::Command::Base
Defined in: lib/rubocop/cli/command/version.rb

Overview

Display version.

Class Attribute Summary

Base - Inherited

Class Method Summary

Instance Attribute Summary

Base - Inherited

Instance Method Summary

Instance Method Details

#run

[ GitHub ]

  
# File 'lib/rubocop/cli/command/version.rb', line 11

def run
  puts RuboCop::Version.version(debug: false) if @options[:version]
  puts RuboCop::Version.version(debug: true, env: env) if @options[:verbose_version]
end