APIdock / Ruby
/
Browse About
method

ancestors

v2_4_6 - Show latest stable - Class: RDoc::Store
ancestors()
public

Ancestors cache accessor. Maps a klass name to an Array of its ancestors in this store. If Foo in this store inherits from Object, Kernel won’t be listed (it will be included from ruby’s ri store).

# File lib/rdoc/store.rb, line 223
  def ancestors
    @cache[:ancestors]
  end

Related methods

  • Instance methods
  • add_c_enclosure
  • add_c_variables
  • add_file
  • all_classes
  • all_classes_and_modules
  • all_files
  • all_modules
  • ancestors
  • attributes
  • cache_path
  • class_file
  • class_methods
  • class_path
  • classes_hash
  • clean_cache_collection
  • complete
  • files_hash
  • find_c_enclosure
  • find_class_named
  • find_class_named_from
  • find_class_or_module
  • find_file_named
  • find_module_named
  • find_text_page
  • find_unique
  • fix_basic_object_inheritance
  • friendly_path
  • inspect
  • instance_methods
  • load_all
  • load_cache
  • load_class
  • load_class_data
  • load_method
  • load_page
  • main
  • main=
  • make_variable_map
  • method_file
  • module_names
  • modules_hash
  • page
  • page_file
  • remove_nodoc
  • save
  • save_cache
  • save_class
  • save_method
  • save_page
  • source
  • title
  • title=
  • unique_classes
  • unique_classes_and_modules
  • unique_modules
  • Class methods
  • new
APIdock API Documentation Browser

Implement the SPACE framework the right way with Swarmia.

© 2026 APIdock