Class: MusicalScore::ElementBase
- Inherits:
-
Object
- Object
- MusicalScore::ElementBase
show all
- Includes:
- Contracts
- Defined in:
- lib/musical_score/element_base.rb
Direct Known Subclasses
Attribute::Attribute, Attribute::Clef, Attribute::Key, Attribute::Time, Measures, Note::Lyric, Note::Notation::Notation, Note::Notation::Tie, Note::Notation::Tuplet, Note::Note, Note::Pitch, Note::TimeModification, Note::Type, Notes, Part::Measure, Part::Part, Score::Identification::Creator, Score::Identification::Encoding, Score::Identification::Identification, Score::Part::Part, Score::Score
Class Method Summary
collapse
Instance Method Summary
collapse
Class Method Details
.create_by_hash(hash) ⇒ Object
13
14
15
|
# File 'lib/musical_score/element_base.rb', line 13
def self.create_by_hash(hash)
raise "Called abstract method: create_by_hash"
end
|
.create_by_xml(element) ⇒ Object
9
10
11
|
# File 'lib/musical_score/element_base.rb', line 9
def self.create_by_xml(element)
raise "Called abstract method: create_by_xml"
end
|
Instance Method Details
#export_xml ⇒ Object
17
18
19
|
# File 'lib/musical_score/element_base.rb', line 17
def export_xml
raise "Called abstract method: export_xml"
end
|