Class: Tapioca::Commands::Annotations
- Extended by:
- T::Sig
- Defined in:
- lib/tapioca/commands/annotations.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(central_repo_root_uri:, central_repo_index_path: CENTRAL_REPO_INDEX_PATH) ⇒ Annotations
constructor
A new instance of Annotations.
Methods included from Tapioca::CliHelper
Constructor Details
#initialize(central_repo_root_uri:, central_repo_index_path: CENTRAL_REPO_INDEX_PATH) ⇒ Annotations
Returns a new instance of 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 |