Module: Fet::Cli::Play::ListeningCommand
- Defined in:
- lib/fet/cli/play/listening_command.rb
Overview
Defines the CLI “play listening” command
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/fet/cli/play/listening_command.rb', line 8 def self.included(klass) klass.class_eval do extend ClassMethods desc("Run the ear training application") command(:play) do |c| define_listening_command(c) end end end |