Class: Coltrane::UI::Views::FindChordByNotes

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

Instance Method Summary collapse

Methods inherited from BaseView

render

Instance Method Details

#renderObject



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

def render
  notes = Commands::GetNotesFromString.run(params[:notes])
  Commands::FindChordByNotes.run(*notes)
end