Class: Coltrane::UI::Views::FindScaleByChords

Inherits:
BaseView
  • Object
show all
Defined in:
lib/coltrane/ui/views/find_scale_by_chords.rb

Instance Method Summary collapse

Methods inherited from BaseView

render

Instance Method Details

#renderObject



9
10
11
12
# File 'lib/coltrane/ui/views/find_scale_by_chords.rb', line 9

def render
  chords = Commands::GetChordsFromString.run(params[:chords])
  Commands::FindScaleByChords.run(*chords)
end