Sha256: 67005f2dda3233102068058b4349cf2c8d2feaa370d9e634d657f27e717a99cf

Contents?: true

Size: 356 Bytes

Versions: 3

Compression:

Stored size: 356 Bytes

Contents

module Coltrane
  module UI
    module Views
      class FindProgressionsFromChords < View
        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

3 entries across 3 versions & 1 rubygems

Version Path
coltrane-4.0.5 lib/coltrane/ui/views/find_progressions_from_chords.rb
coltrane-4.0.4 lib/coltrane/ui/views/find_progressions_from_chords.rb
coltrane-4.0.3 lib/coltrane/ui/views/find_progressions_from_chords.rb