Method: Coltrane::Representation::Guitar::Chord#completeness
- Defined in:
- lib/coltrane/representation/guitar/chord.rb
#completeness ⇒ Object
87 88 89 |
# File 'lib/coltrane/representation/guitar/chord.rb', line 87 def completeness (target_chord.notes.size.to_f - notes_left.size) / target_chord.notes.size end |