Class: Tapioca::Commands::Annotations
- Inherits:
-
CommandWithoutTracker
- Object
- Command
- CommandWithoutTracker
- Tapioca::Commands::Annotations
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/commands/annotations.rb
Instance Method Summary collapse
-
#initialize(central_repo_root_uris:, auth: nil, netrc_file: nil, central_repo_index_path: CENTRAL_REPO_INDEX_PATH, typed_overrides: {}) ⇒ Annotations
constructor
: (central_repo_root_uris: Array, ?auth: String?, ?netrc_file: String?, ?central_repo_index_path: String, ?typed_overrides: Hash[String, String]) -> void.
Methods inherited from Command
Methods included from Tapioca::CliHelper
#netrc_file, #rbi_formatter, #say_error
Constructor Details
#initialize(central_repo_root_uris:, auth: nil, netrc_file: nil, central_repo_index_path: CENTRAL_REPO_INDEX_PATH, typed_overrides: {}) ⇒ Annotations
: (central_repo_root_uris: Array, ?auth: String?, ?netrc_file: String?, ?central_repo_index_path: String, ?typed_overrides: Hash[String, String]) -> void
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/tapioca/commands/annotations.rb', line 10 def initialize( central_repo_root_uris:, auth: nil, netrc_file: nil, central_repo_index_path: CENTRAL_REPO_INDEX_PATH, typed_overrides: {} ) super() @outpath = Pathname.new(DEFAULT_ANNOTATIONS_DIR) #: Pathname @central_repo_root_uris = central_repo_root_uris @auth = auth @netrc_file = netrc_file @netrc_info = nil #: Netrc? @tokens = repo_tokens #: Hash[String, String?] @indexes = {} #: Hash[String, RepoIndex] @typed_overrides = typed_overrides end |