Class: Gemview::Commands::Updates
- Inherits:
-
Dry::CLI::Command
- Object
- Dry::CLI::Command
- Gemview::Commands::Updates
- Defined in:
- lib/gemview/commands.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
98 99 100 101 102 103 104 105 106 |
# File 'lib/gemview/commands.rb', line 98 def call(**) gems = Gem.just_updated if gems.empty? abort("Error: Unable to retrieve latest gem list") end View.list(gems: gems) end |