# File lib/rdoc/top_level.rb, line 358
  def add_method(method)
    object_class.record_location self
    return method unless @document_self
    object_class.add_method method
  end