lib/head_music/style/mark.rb in head_music-0.19.0 vs lib/head_music/style/mark.rb in head_music-0.19.1

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true # A mark is a fragment of music with an optional fitness score assigned. -# Marks are collected into annotations which comment on the fragments. +# Marks are collected into annotations which comment on a voice. class HeadMusic::Style::Mark attr_reader :start_position, :end_position, :placements, :fitness def self.for(placement, fitness: nil) new(placement.position, placement.next_position, placements: [placement], fitness: fitness)