class MusicalScore::Note::Notation::Tie
Attributes
type[RW]
Public Class Methods
new(type)
click to toggle source
# File lib/musical_score/note/notation/tie.rb, line 9 def initialize(type) @type = type.to_sym end
Public Instance Methods
export_xml()
click to toggle source
# File lib/musical_score/note/notation/tie.rb, line 13 def export_xml tie_element = REXML::Element.new('tied') tie_element.add_attribute('type',@type.to_s) return tie_element end