Class: Tapioca::Commands::CheckShims
- Inherits:
-
CommandWithoutTracker
- Object
- Command
- CommandWithoutTracker
- Tapioca::Commands::CheckShims
- Extended by:
- T::Sig
- Includes:
- RBIFilesHelper, SorbetHelper
- Defined in:
- lib/tapioca/commands/check_shims.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
-
#initialize(gem_rbi_dir:, dsl_rbi_dir:, annotations_rbi_dir:, shim_rbi_dir:, todo_rbi_file:, payload:, number_of_workers:) ⇒ CheckShims
constructor
A new instance of CheckShims.
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?
Methods inherited from Command
Methods included from Tapioca::CliHelper
#netrc_file, #rbi_formatter, #say_error
Constructor Details
#initialize(gem_rbi_dir:, dsl_rbi_dir:, annotations_rbi_dir:, shim_rbi_dir:, todo_rbi_file:, payload:, number_of_workers:) ⇒ CheckShims
Returns a new instance of CheckShims.
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/tapioca/commands/check_shims.rb', line 22 def initialize( gem_rbi_dir:, dsl_rbi_dir:, annotations_rbi_dir:, shim_rbi_dir:, todo_rbi_file:, payload:, number_of_workers: ) super() @gem_rbi_dir = gem_rbi_dir @dsl_rbi_dir = dsl_rbi_dir @annotations_rbi_dir = annotations_rbi_dir @shim_rbi_dir = shim_rbi_dir @todo_rbi_file = todo_rbi_file @payload = payload @number_of_workers = number_of_workers end |