Sha256: ec011a2dfdcceff61185532ef3dac6488ae9755d52a2e4e6f0a7f692aeb07d47

Contents?: true

Size: 344 Bytes

Versions: 22

Compression:

Stored size: 344 Bytes

Contents

# frozen_string_literal: true

module Coltrane
  module Theory
    class ProgressionSet
      extend Forwardable
      include Enumerable

      def_delegators :progressions, :each

      attr_accessor :progressions

      def initialize(*progressions)
        @progressions = progressions.sort_by(&:notes_out_size)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
coltrane-4.1.2 lib/coltrane/theory/progression_set.rb
coltrane-4.1.1 lib/coltrane/theory/progression_set.rb
coltrane-4.1.0 lib/coltrane/theory/progression_set.rb
coltrane-4.0.6 lib/coltrane/theory/progression_set.rb
coltrane-4.0.5 lib/coltrane/theory/progression_set.rb
coltrane-4.0.4 lib/coltrane/theory/progression_set.rb
coltrane-4.0.3 lib/coltrane/theory/progression_set.rb
coltrane-3.4.2 lib/coltrane/theory/progression_set.rb
coltrane-3.4.1 lib/coltrane/theory/progression_set.rb
coltrane-3.4.0 lib/coltrane/theory/progression_set.rb
coltrane-3.3.3 lib/coltrane/theory/progression_set.rb
coltrane-3.3.2 lib/coltrane/theory/progression_set.rb
coltrane-3.3.1 lib/coltrane/theory/progression_set.rb
coltrane-3.3.0 lib/coltrane/theory/progression_set.rb
coltrane-3.2.0 lib/coltrane/theory/progression_set.rb
coltrane-3.1.3 lib/coltrane/theory/progression_set.rb
coltrane-3.1.2 lib/coltrane/theory/progression_set.rb
coltrane-3.1.1 lib/coltrane/theory/progression_set.rb
coltrane-3.1.0 lib/coltrane/theory/progression_set.rb
coltrane-3.0.0 lib/coltrane/theory/progression_set.rb