Class: Lumise::Commands::Rubocop::UpdateFiles

Inherits:
Object
  • Object
show all
Includes:
Lumise::Commands, L
Defined in:
lib/lumise/services/commands/rubocop/update_files.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from L

#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