Class: Coltrane::Commands::FindScaleByNotes

Inherits:
Command
  • Object
show all
Defined in:
lib/coltrane/commands/find_scale_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_scale_by_notes.rb', line 4

def run(notes)
  Theory::Scale.having_notes(*notes)
end