Class: Coltrane::UI::Views::ShowScale

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

Direct Known Subclasses

FindChordsInScale

Instance Method Summary collapse

Methods inherited from BaseView

render

Instance Method Details

#renderObject



19
20
21
22
# File 'lib/coltrane/ui/views/show_scale.rb', line 19

def render
  scale = Commands::GetClassicScale.run(*params.values_at(:scale, :tone))
  Commands::GetRepresentationNotes.run(params[:representation], scale.notes)
end