Class: Coltrane::Commands::FindChordByNotes

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

Instance Attribute Summary

Attributes inherited from Command

#error

Instance Method Summary collapse

Methods inherited from Command

run

Instance Method Details

#run(notes) ⇒ Object



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

def run(notes)
  Theory::Chord.new(notes: notes)
end