lib/erbook/rdoc.rb
##
# Returns the RDoc::TopLevel object which contains this method.
#
Returns the RDoc::TopLevel object which contains this method.
Returns the RDoc :: TopLevel object which contains this method .
def top_level
      n = parent
      while n && n.parent
        n = n.parent
      end
      n
    end
def top_level n = parent while n && n . parent n = n . parent end n end
Returns the RDoc::TopLevel object which contains this method.
Returns the RDoc :: TopLevel object which contains this method .