Sha256: ce2f1345c842d0b16eedb56a2ef637586bd1aa889ba02f8c5e54f7cc1aa0b047

Contents?: true

Size: 410 Bytes

Versions: 22

Compression:

Stored size: 410 Bytes

Contents

# frozen_string_literal: true

require 'coltrane/representation/guitar'

module Coltrane
  module Representation
    class Ukulele < Guitar
      def initialize(tuning: %w[G3 C4 E4 A4],
                     frets: 12,
                     special_frets: [5, 7, 9, 12])
      super
      end
    end

    class Bass < Guitar
      def initialize(tuning: %w[E1 A1 D2 G2])
      super
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

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