Sha256: 23616b3b847c8ce5b0c8f7d97c7265b844c048abef46272b511a3acf66d89621

Contents?: true

Size: 347 Bytes

Versions: 4

Compression:

Stored size: 347 Bytes

Contents

module Coltrane
  module UI
    module Views
      class FindScaleByChords < BaseView
        questions({
          chords: { statement: 'Which Chords?' }
        })

        def render
          chords = Commands::GetChordsFromString.run(params[:chords])
          Commands::FindScaleByChords.run(*chords)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coltrane-4.1.2 lib/coltrane/ui/views/find_scale_by_chords.rb
coltrane-4.1.1 lib/coltrane/ui/views/find_scale_by_chords.rb
coltrane-4.1.0 lib/coltrane/ui/views/find_scale_by_chords.rb
coltrane-4.0.6 lib/coltrane/ui/views/find_scale_by_chords.rb