Method: RDoc::Parser::Ruby#suppress_parents

Defined in:
lib/rdoc/parser/ruby.rb

#suppress_parents(container, ancestor) ⇒ Object

Marks containers between container and ancestor as ignored



628
629
630
631
632
633
# File 'lib/rdoc/parser/ruby.rb', line 628

def suppress_parents container, ancestor # :nodoc:
  while container and container != ancestor do
    container.suppress unless container.documented?
    container = container.parent
  end
end