lib/head_music/clef.rb in head_music-0.23.1 vs lib/head_music/clef.rb in head_music-0.23.2

- old
+ new

@@ -3,20 +3,20 @@ # A clef assigns pitches to the lines and spaces of a staff. class HeadMusic::Clef include HeadMusic::NamedRudiment CLEFS = [ - { pitch: 'G4', line: 2, names: ['treble', 'G-clef'], modern: true }, + { pitch: 'G4', line: 2, names: %w[treble G-clef], modern: true }, { pitch: 'G4', line: 1, names: ['French', 'French violin'] }, { pitch: 'G3', line: 2, names: ['choral tenor', 'tenor', 'tenor G-clef'], modern: true }, { pitch: 'F3', line: 3, names: ['baritone'] }, - { pitch: 'F3', line: 4, names: ['bass', 'F-clef'], modern: true }, + { pitch: 'F3', line: 4, names: %w[bass F-clef], modern: true }, { pitch: 'F3', line: 5, names: ['sub-bass'] }, { pitch: 'C4', line: 1, names: ['soprano'] }, { pitch: 'C4', line: 2, names: ['mezzo-soprano'] }, - { pitch: 'C4', line: 3, names: ['alto', 'viola', 'counter-tenor', 'countertenor', 'C-clef'], modern: true }, + { pitch: 'C4', line: 3, names: %w[alto viola counter-tenor countertenor C-clef], modern: true }, { pitch: 'C4', line: 4, names: ['tenor', 'tenor C-clef'], modern: true }, { pitch: 'C4', line: 5, names: ['baritone', 'baritone C-clef'] }, { pitch: nil, line: 3, names: %w[neutral percussion] }, ].freeze