class Matterhorn::Smil::Body
Matterhorn::Smil::Body
===¶ ↑
Attributes
par_list[R]
——————————————————————————- attributes —
seq_list[R]
——————————————————————————- attributes —
Public Class Methods
new()
click to toggle source
————————————————————————— initialization —
# File lib/matterhorn/smil.rb, line 78 def initialize() @par_list = Array.new @seq_list = Array.new end
Public Instance Methods
add_par()
click to toggle source
——————————————————————————— methodes —
# File lib/matterhorn/smil.rb, line 86 def add_par() par = Smil::Par.new @par_list << par par end
add_seq()
click to toggle source
# File lib/matterhorn/smil.rb, line 93 def add_seq() seq = Smil::Seq.new(nil) @seq_list << seq seq end
to_xml(bx)
click to toggle source
# File lib/matterhorn/smil.rb, line 100 def to_xml(bx) bx.body do @par_list.each do |par| par.to_xml(bx) end @seq_list.each do |seq| seq.to_xml(bx) end end end