# File lib/asciidoctor/abstract_block.rb, line 28 def initialize parent, context, opts = {} super @content_model = :compound @subs = [] @default_subs = nil @blocks = [] @id = nil @title = nil @caption = nil @style = nil @level = if context == :document 0 elsif parent && context != :section parent.level end @next_section_index = 0 @next_section_number = 1 @source_location = nil end