Class: Tapioca::Commands::Configure

Inherits:
CommandWithoutTracker show all
Defined in:
lib/tapioca/commands/configure.rb

Instance Method Summary collapse

Methods inherited from Command

#run

Methods included from Tapioca::CliHelper

#netrc_file, #rbi_formatter, #say_error

Constructor Details

#initialize(sorbet_config:, tapioca_config:, default_postrequire:) ⇒ Configure

Returns a new instance of Configure.



14
15
16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/tapioca/commands/configure.rb', line 14

def initialize(
  sorbet_config:,
  tapioca_config:,
  default_postrequire:
)
  @sorbet_config = sorbet_config
  @tapioca_config = tapioca_config
  @default_postrequire = default_postrequire

  super()

  @installer = T.let(nil, T.nilable(Bundler::Installer))
  @spec = T.let(nil, T.nilable(Bundler::StubSpecification))
end