Class: Tapioca::Commands::DslGenerate

Inherits:
AbstractDsl show all
Defined in:
lib/tapioca/commands/dsl_generate.rb

Constant Summary

Constants included from SorbetHelper

SorbetHelper::FEATURE_REQUIREMENTS, SorbetHelper::SORBET_BIN, SorbetHelper::SORBET_EXE_PATH_ENV_VAR, SorbetHelper::SORBET_GEM_SPEC, SorbetHelper::SORBET_PAYLOAD_URL, SorbetHelper::SPOOM_CONTEXT

Instance Method Summary collapse

Methods included from RBIFilesHelper

#duplicated_nodes_from_index, #index_rbi, #index_rbis, #location_to_payload_url, #validate_rbi_files

Methods included from SorbetHelper

#sorbet, #sorbet_path, #sorbet_supports?, #sorbet_syntax_check!

Methods inherited from Command

#run

Methods included from Tapioca::CliHelper

#netrc_file, #rbi_formatter, #say_error

Constructor Details

#initialize(only_bootsnap_rbs_cache: false, **kwargs) ⇒ DslGenerate

: (?only_bootsnap_rbs_cache: bool, **untyped) -> void



8
9
10
11
# File 'lib/tapioca/commands/dsl_generate.rb', line 8

def initialize(only_bootsnap_rbs_cache: false, **kwargs)
  @only_bootsnap_rbs_cache = only_bootsnap_rbs_cache
  super(**T.unsafe(kwargs))
end