Class: Coltrane::UI::Views::ShowChord

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

Instance Method Summary collapse

Methods inherited from BaseView

render

Instance Method Details

#renderObject



13
14
15
16
# File 'lib/coltrane/ui/views/show_chord.rb', line 13

def render
  chord = Commands::GetChordsFromString.run(params[:chord]).first
  Commands::GetRepresentationChords.run(params[:chord_representation], [chord])
end