Module: Musa::MusicXML::Builder::Internal::Helper::NotImplemented Private

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Mixin for classes not yet implemented.

Used as a placeholder for MusicXML elements that are planned but not yet implemented. Raises NotImplementedError when attempting to use.

API:

  • private

Instance Method Summary collapse

Instance Method Details

#initialize(**_args) ⇒ 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.

Placeholder initializer accepting any parameters.

Parameters:

  • ignored keyword arguments

API:

  • private



109
# File 'lib/musa-dsl/musicxml/builder/helper.rb', line 109

def initialize(**_args); end

#to_xml(io = nil, indent: nil) ⇒ 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.

Raises error indicating the class is not implemented.

Parameters:

  • (defaults to: nil)

    ignored

  • (defaults to: nil)

    ignored

Raises:

  • always raised with helpful message

API:

  • private



116
117
118
# File 'lib/musa-dsl/musicxml/builder/helper.rb', line 116

def to_xml(io = nil, indent: nil)
  raise NotImplementedError, "#{self.class} not yet implemented. Ask Javier do his work!"
end