Class: Podrb::Commands::BaseRunner
- Inherits:
-
Object
- Object
- Podrb::Commands::BaseRunner
- Defined in:
- lib/podrb/commands/base_runner.rb
Direct Known Subclasses
Add::Runner, Archive::Runner, Dearchive::Runner, Delete::Runner, Episodes::Runner, Init::Runner, Open::Runner, Podcasts::Runner, Sync::Runner, Update::Runner
Class Method Summary collapse
Class Method Details
.call(*args) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/podrb/commands/base_runner.rb', line 6 def self.call(*args) command = new if command.method(:call).parameters.empty? command.call else command.call(*args) end end |