lib/head_music/scale.rb in head_music-0.5.1 vs lib/head_music/scale.rb in head_music-0.5.2

- old
+ new

@@ -40,11 +40,11 @@ end end end end - def spellings - pitches.map(&:spelling).map(&:to_s) + def spellings(direction: :ascending, octaves: 1) + pitches(direction: direction, octaves: octaves).map(&:spelling).map(&:to_s) end def pitch_names(direction: :ascending, octaves: 1) pitches(direction: direction, octaves: octaves).map(&:name) end