Sha256: 90542650efbb11b2e9a8c1aba309c95a02d97004ac57df9ce46b6ca4f54ae1b0

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

module Coltrane
  module UI
    module Views
      class FindChordByNotes < BaseView
        questions({
          notes: { statement: 'Which Notes?' }
        })

        def render
          notes = Commands::GetNotesFromString.run(params[:notes])
          Commands::FindChordByNotes.run(*notes)
        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_chord_by_notes.rb
coltrane-4.1.1 lib/coltrane/ui/views/find_chord_by_notes.rb
coltrane-4.1.0 lib/coltrane/ui/views/find_chord_by_notes.rb
coltrane-4.0.6 lib/coltrane/ui/views/find_chord_by_notes.rb