# File ../../../../../lib/review/tocparser.rb, line 162 def initialize(level, label, path = nil) super() @level = level @label = label @filename = path ? real_filename(path) : nil end
# File ../../../../../lib/review/tocparser.rb, line 181 def estimated_lines @children.inject(0) { |sum, n| sum + n.estimated_lines } end
# File ../../../../../lib/review/tocparser.rb, line 189 def inspect "#<#{self.class} level=#{@level} #{@label}>" end
# File ../../../../../lib/review/tocparser.rb, line 185 def yield_section yield self end