Class: ColtraneInstruments::Guitar::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/coltrane_instruments/guitar/base.rb

Overview

A base class for operations involving Guitars

Instance Method Summary collapse

Constructor Details

#initializeBase

Returns a new instance of Base.



7
# File 'lib/coltrane_instruments/guitar/base.rb', line 7

def initialize; end

Instance Method Details

#find_chord(target_chord) ⇒ Object



9
10
11
# File 'lib/coltrane_instruments/guitar/base.rb', line 9

def find_chord(target_chord)
  Chord.new(target_chord, guitar: self).fetch_descendant_chords
end