class ReVIEW::UlistElementNode
Attributes
compiler[R]
content[R]
level[R]
position[R]
Public Class Methods
new(compiler, position, level, content)
click to toggle source
# File lib/review/compiler.rb, line 1129 def initialize(compiler, position, level, content) @compiler = compiler @position = position @level = level @content = content end
Public Instance Methods
concat(elem)
click to toggle source
# File lib/review/node.rb, line 238 def concat(elem) @content << elem end
level=(level)
click to toggle source
# File lib/review/node.rb, line 230 def level=(level) @level = level end
to_doc()
click to toggle source
# File lib/review/node.rb, line 234 def to_doc @content.map(&:to_doc).join("") end