Class: Coltrane::Commands::GetClassicScale

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

Instance Attribute Summary

Attributes inherited from Command

#error

Instance Method Summary collapse

Methods inherited from Command

run

Instance Method Details

#run(scale, tone) ⇒ Object



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

def run(scale, tone)
  Theory::Scale.fetch(scale, tone)
end