Class: Slaw::Grammars::Inlines::Clauses
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::Grammars::Inlines::Clauses
- Defined in:
- lib/slaw/grammars/inlines_nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_xml(b, idprefix = nil) ⇒ Object
15 16 17 18 19 20 21 22 23 |
# File 'lib/slaw/grammars/inlines_nodes.rb', line 15 def to_xml(b, idprefix=nil) for e in elements if e.respond_to? :to_xml e.to_xml(b, idprefix) else b.text(e.text_value) end end end |