Sha256: b68414660b3678d033ed65e8a70bf55f3cf0124b1df8250298b67b03fcf71a15

Contents?: true

Size: 343 Bytes

Versions: 3

Compression:

Stored size: 343 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

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