Class: Tapioca::Commands::Annotations
- Inherits:
-
Command
- Object
- Command
- Tapioca::Commands::Annotations
show all
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/commands/annotations.rb
Instance Method Summary
collapse
#rbi_formatter, #say_error
Constructor Details
#initialize(central_repo_root_uri:, central_repo_index_path: CENTRAL_REPO_INDEX_PATH) ⇒ Annotations
17
18
19
20
21
|
# File 'lib/tapioca/commands/annotations.rb', line 17
def initialize(central_repo_root_uri:, central_repo_index_path: CENTRAL_REPO_INDEX_PATH)
super()
@central_repo_root_uri = central_repo_root_uri
@index = T.let(fetch_index, RepoIndex)
end
|
Instance Method Details
#execute ⇒ Object
24
25
26
27
28
|
# File 'lib/tapioca/commands/annotations.rb', line 24
def execute
project_gems = list_gemfile_gems
remove_expired_annotations(project_gems)
fetch_annotations(project_gems)
end
|