Sha256: 4c2b0022e082fa14e3bb7b8808917ce547dbe5ef64b32ce3864ef209c7b6c238

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 Bytes

Contents

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

        def render
          notes = Commands::GetNotesFromString.run(params[:notes])
          Commands::FindScaleByNotes.run(*notes)
        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_notes.rb
coltrane-4.0.4 lib/coltrane/ui/views/find_scale_by_notes.rb
coltrane-4.0.3 lib/coltrane/ui/views/find_scale_by_notes.rb