Class: RubocopTodoCorrector::Commands::Bundle
- Inherits:
-
Object
- Object
- RubocopTodoCorrector::Commands::Bundle
- Defined in:
- lib/rubocop_todo_corrector/commands/bundle.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(rubocop_configuration_path:, gemfile_lock_path:, temporary_gemfile_path:) ⇒ Bundle
constructor
A new instance of Bundle.
Constructor Details
#initialize(rubocop_configuration_path:, gemfile_lock_path:, temporary_gemfile_path:) ⇒ Bundle
Returns a new instance of Bundle.
23 24 25 26 27 28 29 30 31 |
# File 'lib/rubocop_todo_corrector/commands/bundle.rb', line 23 def initialize( rubocop_configuration_path:, gemfile_lock_path:, temporary_gemfile_path: ) @rubocop_configuration_path = rubocop_configuration_path @gemfile_lock_path = gemfile_lock_path @temporary_gemfile_path = temporary_gemfile_path end |
Class Method Details
.call(rubocop_configuration_path:, gemfile_lock_path:, temporary_gemfile_path:) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/rubocop_todo_corrector/commands/bundle.rb', line 10 def call( rubocop_configuration_path:, gemfile_lock_path:, temporary_gemfile_path: ) new( rubocop_configuration_path:, gemfile_lock_path:, temporary_gemfile_path: ).call end |
Instance Method Details
#call ⇒ Object
33 34 35 36 37 38 |
# File 'lib/rubocop_todo_corrector/commands/bundle.rb', line 33 def call BundleInstaller.call( gem_specifications:, temporary_gemfile_path: @temporary_gemfile_path ) end |