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-3.0.0.rc1 lib/coltrane/representation/guitar_like_instruments.rb
coltrane-3.0.0.pre lib/coltrane/representation/guitar_like_instruments.rb