class RD::TextBlock
Attributes
content[RW]
Public Class Methods
new()
click to toggle source
Calls superclass method
RD::NonterminalElement::new
# File lib/rd/block-element.rb, line 74 def initialize() super() @content = [] end
Public Instance Methods
accept(visitor)
click to toggle source
# File lib/rd/block-element.rb, line 79 def accept(visitor) visitor.visit_TextBlock(self) end
children()
click to toggle source
# File lib/rd/block-element.rb, line 83 def children @content end