class Coltrane::UI::Views::FindChordsInScale
Public Instance Methods
render()
click to toggle source
# File lib/coltrane/ui/views/find_chords_in_scale.rb, line 25 def render scale = Commands::GetClassicScale.run(*params.values_at(:scale, :tone)) chords = Commands::GetChordsFromScale.run( scale, *params.values_at(:chord_type, :chord_size) ) Commands::GetRepresentationChords.run(params[:chord_representation], chords) end