pedrozath/coltrane

View on GitHub
lib/coltrane/commands/get_chords_from_progression.rb

Summary

Maintainability
A
0 mins
Test Coverage
B
80%
module Coltrane
  module Commands
    class GetChordsFromProgression < Command
      def run(notation, key)
        Theory::Progression.new(notation, key: key).chords
      end
    end
  end
end