class AudioFeedManager::Command
Public Class Methods
arguments() { |arguments_specification| ... }
click to toggle source
# File lib/audio_feed_manager/cli/command.rb, line 7 def self.arguments yield(arguments_specification) end
arguments_specification()
click to toggle source
# File lib/audio_feed_manager/cli/command.rb, line 11 def self.arguments_specification @arguments_specification ||= ArgumentsSpecification.no_arguments end
Public Instance Methods
arguments()
click to toggle source
# File lib/audio_feed_manager/cli/command.rb, line 15 def arguments self.class.arguments_specification end
run(arguments = {})
click to toggle source
# File lib/audio_feed_manager/cli/command.rb, line 22 def run(arguments = {}) end