Class: Musa::MusicXML::Builder::Internal::Dashes Private
- Defined in:
- lib/musa-dsl/musicxml/builder/direction.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Dashed line direction type.
Represents dashed extension lines for text or other markings.
Instance Method Summary collapse
- #_direction_type_to_xml(io, indent:, tabs:) ⇒ Object private
-
#initialize(type, &block) ⇒ Dashes
constructor
private
start / stop / continue.
Constructor Details
#initialize(type, &block) ⇒ Dashes
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
start / stop / continue
422 423 424 425 426 427 428 |
# File 'lib/musa-dsl/musicxml/builder/direction.rb', line 422 def initialize(type, # start / stop / continue &block) @type = type super end |
Instance Method Details
#_direction_type_to_xml(io, indent:, tabs:) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
432 433 434 |
# File 'lib/musa-dsl/musicxml/builder/direction.rb', line 432 def _direction_type_to_xml(io, indent:, tabs:) io.puts "#{tabs}<dashes type=\"#{@type}\" />" end |