Class: Coltrane::UI::Views::FindChordsInScale
Instance Method Summary collapse
Methods inherited from BaseView
Instance Method Details
#render ⇒ Object
25 26 27 28 29 30 31 32 |
# 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 |