Sha256: 4ce99a429a4dda20053d1af4fbf4df1ce594818e606f069baf9db213af3b9e2b

Contents?: true

Size: 368 Bytes

Versions: 24

Compression:

Stored size: 368 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  class CLI
    module Command
      # Display version.
      class Version < Base
        self.command_name = :version

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

Version data entries

24 entries across 23 versions & 5 rubygems

Version Path
grape-extra_validators-2.0.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/version.rb
rubocop-0.88.0 lib/rubocop/cli/command/version.rb
rbhint-0.87.1.rc1 lib/rubocop/cli/command/version.rb
rubocop-0.87.1 lib/rubocop/cli/command/version.rb
rubocop-0.87.0 lib/rubocop/cli/command/version.rb
rubocop-0.86.0 lib/rubocop/cli/command/version.rb
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/command/version.rb
rbhint-0.85.1.rc2 lib/rubocop/cli/command/version.rb
rbhint-0.85.1.rc1 lib/rubocop/cli/command/version.rb
rubocop-0.85.1 lib/rubocop/cli/command/version.rb
rbhint-0.8.5.rc1 lib/rubocop/cli/command/version.rb
rubocop-0.85.0 lib/rubocop/cli/command/version.rb
rubocop-0.84.0 lib/rubocop/cli/command/version.rb
rubocop-0.83.0 lib/rubocop/cli/command/version.rb
rubocop-0.82.0 lib/rubocop/cli/command/version.rb
rubocop-0.81.0 lib/rubocop/cli/command/version.rb
rubocop-0.80.1 lib/rubocop/cli/command/version.rb
rubocop-0.80.0 lib/rubocop/cli/command/version.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.6.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/version.rb
grape-extra_validators-1.0.0 vendor/bundle/ruby/2.4.0/gems/rubocop-0.79.0/lib/rubocop/cli/command/version.rb