# File lib/review/tocparser.rb, line 300 def chapter? false end
# File lib/review/tocparser.rb, line 311 def each_section(&block) each_chapter do |chap| yield chap.toc end end
# File lib/review/tocparser.rb, line 304 def each_section_with_index idx = -1 each_section do |node| yield node, (idx += 1) end end
# File lib/review/tocparser.rb, line 321 def estimated_lines chapters.inject(0) {|sum, chap| sum + chap.toc.estimated_lines } end
# File lib/review/tocparser.rb, line 296 def level 0 end
# File lib/review/tocparser.rb, line 317 def n_sections chapters.size end