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
409 410 411 412 413 414 415 |
# File 'lib/musa-dsl/musicxml/builder/direction.rb', line 409 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.
419 420 421 |
# File 'lib/musa-dsl/musicxml/builder/direction.rb', line 419 def _direction_type_to_xml(io, indent:, tabs:) io.puts "#{tabs}<dashes type=\"#{@type}\" />" end |