Method: Coltrane::Representation::Guitar::Chord.find

Defined in:
lib/coltrane/representation/guitar/chord.rb

.find(chord, guitar:) ⇒ Object



13
14
15
16
17
18
# File 'lib/coltrane/representation/guitar/chord.rb', line 13

def self.find(chord, guitar:)
  new(chord, guitar: guitar)
  .fetch_descendant_chords
  .sort
  .reverse
end