Class: Slaw::Grammars::Inlines::Ref
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- Slaw::Grammars::Inlines::Ref
- Defined in:
- lib/slaw/grammars/inlines_nodes.rb
Instance Method Summary collapse
Instance Method Details
#to_xml(b, idprefix) ⇒ Object
51 52 53 |
# File 'lib/slaw/grammars/inlines_nodes.rb', line 51 def to_xml(b, idprefix) b.ref(content.text_value, href: href.text_value) end |