class ReVIEW::DlistElementNode

Attributes

compiler[R]
content[R]
position[R]
text[R]

Public Class Methods

new(compiler, position, text, content) click to toggle source
# File lib/review/compiler.rb, line 975
def initialize(compiler, position, text, content)
  @compiler = compiler
  @position = position
  @text = text
  @content = content
end

Public Instance Methods

to_doc() click to toggle source
# File lib/review/node.rb, line 270
def to_doc
  @content.map(&:to_doc).join("")
end