Class: Coltrane::UI::Views::FindScaleByChords
- Defined in:
- lib/coltrane/ui/views/find_scale_by_chords.rb
Instance Attribute Summary
Attributes inherited from View
Instance Method Summary collapse
Methods inherited from View
#ensure_param, #go_to, inherited, #initialize, #output, questions, render, set_path
Constructor Details
This class inherits a constructor from Coltrane::UI::Views::View
Instance Method Details
#render ⇒ Object
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 |