Class: Slaw::Grammars::Schedules::ScheduleContainer

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/slaw/grammars/schedules_nodes.rb

Instance Method Summary collapse

Instance Method Details

#to_xml(b) ⇒ Object



12
13
14
15
16
17
18
# File 'lib/slaw/grammars/schedules_nodes.rb', line 12

def to_xml(b)
  b.components { |b| 
    schedules.children.elements.each_with_index { |e, i|
      e.to_xml(b, "", i+1)
    }
  }
end