Class: Slaw::Grammars::Inlines::Remark
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::Grammars::Inlines::Remark
- Defined in:
- lib/slaw/grammars/inlines_nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_xml(b, idprefix) ⇒ Object
19 20 21 22 23 24 25 26 27 |
# File 'lib/slaw/grammars/inlines_nodes.rb', line 19 def to_xml(b, idprefix) b.remark(status: 'editorial') do |b| b.text('[') for e in content.elements e.inline_item.to_xml(b, idprefix) end b.text(']') end end |