Class: HeadMusic::Notation::ABC::Writer::Segment
- Inherits:
-
Data
- Object
- Data
- HeadMusic::Notation::ABC::Writer::Segment
- Defined in:
- lib/head_music/notation/abc/writer.rb
Overview
A placement sounding across a bar line is written as one note per bar, tied, since ABC has no other way to cross the line. A fraction of nil means the placement fits its bar and renders from its own rhythmic value, which keeps the exporter's canonical collapse of tied chains.
Instance Attribute Summary collapse
-
#bar_number ⇒ Object
readonly
private
Returns the value of attribute bar_number.
-
#continues ⇒ Object
readonly
private
Returns the value of attribute continues.
-
#fraction ⇒ Object
readonly
private
Returns the value of attribute fraction.
-
#placement ⇒ Object
readonly
private
Returns the value of attribute placement.
Instance Attribute Details
#bar_number ⇒ Object (readonly, private)
Returns the value of attribute bar_number
129 130 131 |
# File 'lib/head_music/notation/abc/writer.rb', line 129 def @bar_number end |
#continues ⇒ Object (readonly, private)
Returns the value of attribute continues
129 130 131 |
# File 'lib/head_music/notation/abc/writer.rb', line 129 def continues @continues end |
#fraction ⇒ Object (readonly, private)
Returns the value of attribute fraction
129 130 131 |
# File 'lib/head_music/notation/abc/writer.rb', line 129 def fraction @fraction end |
#placement ⇒ Object (readonly, private)
Returns the value of attribute placement
129 130 131 |
# File 'lib/head_music/notation/abc/writer.rb', line 129 def placement @placement end |