class Juli::Absyn::Chapter

NOTE: @dom_id will be used for only Html visitor and contents helper.

Attributes

blocks[RW]
dom_id[RW]
level[RW]
str[RW]

Public Class Methods

new(level, str, blocks) click to toggle source
Calls superclass method
# File lib/juli/absyn.rb, line 67
def initialize(level, str, blocks)
  super()
  @level  = level
  @str    = str
  @blocks = blocks
end

Public Instance Methods

accept(visitor) click to toggle source
# File lib/juli/absyn.rb, line 74
def accept(visitor)
  visitor.visit_chapter(self)
end