Class: Lumise::Commands::Rubocop::UpdateFiles
- Inherits:
-
Object
- Object
- Lumise::Commands::Rubocop::UpdateFiles
- Includes:
- Lumise::Commands, L
- Defined in:
- lib/lumise/services/commands/rubocop/update_files.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(plugins:) ⇒ UpdateFiles
constructor
A new instance of UpdateFiles.
Methods included from L
Methods included from Lumise::Commands
#command, #exec_exist?, #generator, #logger, #prompt, #which
Constructor Details
#initialize(plugins:) ⇒ UpdateFiles
Returns a new instance of UpdateFiles.
15 16 17 |
# File 'lib/lumise/services/commands/rubocop/update_files.rb', line 15 def initialize(plugins:) @plugins = plugins end |
Class Method Details
.call(plugins:) ⇒ Object
11 12 13 |
# File 'lib/lumise/services/commands/rubocop/update_files.rb', line 11 def self.call(plugins:) new(plugins: plugins).send :perform end |