Class: HeadMusic::Style::Guidelines::AtLeastEightNotes
- Inherits:
-
Annotation
- Object
- Annotation
- HeadMusic::Style::Guidelines::AtLeastEightNotes
- Defined in:
- lib/head_music/style/guidelines/at_least_eight_notes.rb
Overview
A counterpoint guideline
Constant Summary collapse
- MINIMUM_NOTES =
8- MESSAGE =
"Write at least eight notes."
Instance Attribute Summary
Attributes inherited from Annotation
Instance Method Summary collapse
Methods inherited from Annotation
#adherent?, #end_position, #fitness, #initialize, #message, #notes?, #start_position
Constructor Details
This class inherits a constructor from HeadMusic::Style::Annotation
Instance Method Details
#marks ⇒ Object
12 13 14 |
# File 'lib/head_music/style/guidelines/at_least_eight_notes.rb', line 12 def marks placements.empty? ? no_placements_mark : deficiency_mark end |