Class: Coltrane::Commands::GetChordsFromNotableProgression

Inherits:
Command
  • Object
show all
Defined in:
lib/coltrane/commands/get_chords_from_notable_progression.rb

Instance Attribute Summary

Attributes inherited from Command

#error

Instance Method Summary collapse

Methods inherited from Command

run

Instance Method Details

#run(progression, key) ⇒ Object



4
5
6
# File 'lib/coltrane/commands/get_chords_from_notable_progression.rb', line 4

def run(progression, key)
  Theory::Progression.send(progression.underscore, key).chords
end