Class: ColtraneInstruments::Guitar::Base
- Inherits:
-
Object
- Object
- ColtraneInstruments::Guitar::Base
- Defined in:
- lib/coltrane_instruments/guitar/base.rb
Overview
A base class for operations involving Guitars
Instance Method Summary collapse
- #find_chord(target_chord) ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
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 |