Class: AudioFeedManager::Command
- Inherits:
-
Object
- Object
- AudioFeedManager::Command
show all
- Extended by:
- Forwardable
- Defined in:
- lib/audio_feed_manager/cli/command.rb
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.arguments {|arguments_specification| ... } ⇒ Object
7
8
9
|
# File 'lib/audio_feed_manager/cli/command.rb', line 7
def self.arguments
yield(arguments_specification)
end
|
.arguments_specification ⇒ Object
11
12
13
|
# File 'lib/audio_feed_manager/cli/command.rb', line 11
def self.arguments_specification
@arguments_specification ||= ArgumentsSpecification.no_arguments
end
|
Instance Method Details
#arguments ⇒ Object
15
16
17
|
# File 'lib/audio_feed_manager/cli/command.rb', line 15
def arguments
self.class.arguments_specification
end
|
#run(arguments = {}) ⇒ Object
22
23
|
# File 'lib/audio_feed_manager/cli/command.rb', line 22
def run(arguments = {})
end
|