Sha256: d11fa2d38bd94321bff2ffe8d139c3697eeb91f674a8a032c9324496d9b62293

Contents?: true

Size: 360 Bytes

Versions: 4

Compression:

Stored size: 360 Bytes

Contents

module Coltrane
  module UI
    module Views
      class FindProgressionsFromChords < BaseView
        questions chords: { statement: 'Type the chords? (Ex: CM EM GM)' }

        def render
          chords = Commands::GetChordsFromString.run(params[:chords])
          Commands::FindProgressionsFromChords.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_progressions_from_chords.rb
coltrane-4.1.1 lib/coltrane/ui/views/find_progressions_from_chords.rb
coltrane-4.1.0 lib/coltrane/ui/views/find_progressions_from_chords.rb
coltrane-4.0.6 lib/coltrane/ui/views/find_progressions_from_chords.rb