Sha256: fa497092de3a16f56569881e8ff5dc710b16ef376ff2c310c5b1320b6612e08d

Contents?: true

Size: 450 Bytes

Versions: 26

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

module RuboCop
  class CLI
    # Execution environment for a CLI command.
    class Environment
      attr_reader :options, :config_store, :paths

      def initialize(options, config_store, paths)
        @options = options
        @config_store = config_store
        @paths = paths
      end

      # Run a command in this environment.
      def run(name)
        Command.run(self, name)
      end
    end
  end
end

Version data entries

26 entries across 25 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/environment.rb
rubocop-0.89.1 lib/rubocop/cli/environment.rb
rubocop-0.89.0 lib/rubocop/cli/environment.rb
rubocop-0.88.0 lib/rubocop/cli/environment.rb
rbhint-0.87.1.rc1 lib/rubocop/cli/environment.rb
rubocop-0.87.1 lib/rubocop/cli/environment.rb
rubocop-0.87.0 lib/rubocop/cli/environment.rb
rubocop-0.86.0 lib/rubocop/cli/environment.rb
files.com-1.0.1 vendor/bundle/ruby/2.5.0/gems/rubocop-0.85.1/lib/rubocop/cli/environment.rb
rbhint-0.85.1.rc2 lib/rubocop/cli/environment.rb
rbhint-0.85.1.rc1 lib/rubocop/cli/environment.rb
rubocop-0.85.1 lib/rubocop/cli/environment.rb
rbhint-0.8.5.rc1 lib/rubocop/cli/environment.rb
rubocop-0.85.0 lib/rubocop/cli/environment.rb
rubocop-0.84.0 lib/rubocop/cli/environment.rb
rubocop-0.83.0 lib/rubocop/cli/environment.rb
rubocop-0.82.0 lib/rubocop/cli/environment.rb
rubocop-0.81.0 lib/rubocop/cli/environment.rb
rubocop-0.80.1 lib/rubocop/cli/environment.rb
rubocop-0.80.0 lib/rubocop/cli/environment.rb