Class: Podrb::Commands::BaseOutput
- Inherits:
-
Object
- Object
- Podrb::Commands::BaseOutput
- Defined in:
- lib/podrb/commands/base_output.rb
Direct Known Subclasses
Add::Output, Archive::Output, Dearchive::Output, Delete::Output, Episodes::Output, Init::Output, Open::Output, Podcasts::Output, Sync::Output, Update::Output
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(context) ⇒ BaseOutput
constructor
A new instance of BaseOutput.
Constructor Details
#initialize(context) ⇒ BaseOutput
Returns a new instance of BaseOutput.
12 13 14 |
# File 'lib/podrb/commands/base_output.rb', line 12 def initialize(context) @context = context end |
Class Method Details
.call(context = {}) ⇒ Object
8 9 10 |
# File 'lib/podrb/commands/base_output.rb', line 8 def self.call(context = {}) new(context).call end |