Sha256: ec38525141a6a524cb76042c2ff976a455c46e7d54ec3e3c05455bbfa9ee5b55
Contents?: true
Size: 369 Bytes
Versions: 4
Compression:
Stored size: 369 Bytes
Contents
module HeadMusic::Style::Annotations end class HeadMusic::Style::Annotations::UpToThirteenNotes < HeadMusic::Style::Annotation MAXIMUM_NOTES = 13 def message 'Write up to thirteen notes.' end def marks if overage > 0 Style::Mark.for_all(notes[13..-1]) end end private def overage [notes.length - MAXIMUM_NOTES, 0].max end end
Version data entries
4 entries across 4 versions & 1 rubygems