Class: Pennyworth::CLI::Actions::Gem
- Inherits:
-
Sod::Action
- Object
- Sod::Action
- Pennyworth::CLI::Actions::Gem
- Defined in:
- lib/pennyworth/cli/actions/gem.rb
Overview
Handles the RubyGem action.
Instance Method Summary collapse
- #call(handle = default) ⇒ Object
-
#initialize(processor: Processor.for_gems) ⇒ Gem
constructor
A new instance of Gem.
Constructor Details
Instance Method Details
#call(handle = default) ⇒ Object
23 |
# File 'lib/pennyworth/cli/actions/gem.rb', line 23 def call(handle = default) = io.puts processor.call("owners/#{handle}/gems.json").to_json |