123456789_123456789_123456789_123456789_123456789_

Class: RuboCop::CLI::Environment Private

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: lib/rubocop/cli/environment.rb

Overview

Execution environment for a CLI command.

Class Method Summary

Instance Attribute Summary

Instance Method Summary

  • #run(name) Internal use only

    Run a command in this environment.

Instance Attribute Details

#config_store (readonly)

[ GitHub ]

  
# File 'lib/rubocop/cli/environment.rb', line 8

attr_reader :options, :config_store, :paths

#options (readonly)

[ GitHub ]

  
# File 'lib/rubocop/cli/environment.rb', line 8

attr_reader :options, :config_store, :paths

#paths (readonly)

[ GitHub ]

  
# File 'lib/rubocop/cli/environment.rb', line 8

attr_reader :options, :config_store, :paths

Instance Method Details

#run(name)

Run a command in this environment.

[ GitHub ]

  
# File 'lib/rubocop/cli/environment.rb', line 17

def run(name)
  Command.run(self, name)
end