class ReVIEW::RawNode

Attributes

builder[R]
compiler[R]
content[R]
position[R]

Public Class Methods

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

Public Instance Methods

to_doc() click to toggle source
# File lib/review/node.rb, line 203
def to_doc
  @compiler.compile_raw(@builder, @content.join(""))
end