class Gabc::ScoreNode

root node

Public Instance Methods

create_score() click to toggle source

creates and returns a GabcScore from the syntax tree

# File lib/lygre/gabcsemantics.rb, line 27
def create_score
  return GabcScore.new do |s|
    s.header = header.to_hash
    s.music = body.create_music
  end
end