Type:
Class
Constants:
TYPES : %w[class instance]

Types of methods

TOMDOC_TITLES : [nil, 'Public', 'Internal', 'Deprecated']

If a context has these titles it will be sorted in this order.

TOMDOC_TITLES_SORT : TOMDOC_TITLES.sort_by { |title| title.to_s }

A Context is something that can hold modules, classes, methods, attributes, aliases, requires, and includes. Classes, modules, and files are all Contexts.

==
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context/RDoc::Context::Section

==(other) Instance Public methods Sections are equal when they have the same

2025-01-10 15:47:30
remove_invisible
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

remove_invisible(min_visibility) Instance Public methods Removes methods and

2025-01-10 15:47:30
each_method
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

each_method() Instance Public methods Iterator for methods

2025-01-10 15:47:30
classes
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

classes() Instance Public methods Array of classes in this context

2025-01-10 15:47:30
modules
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

modules() Instance Public methods Array of modules in this context

2025-01-10 15:47:30
sort_sections
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

sort_sections() Instance Public methods Sorts sections alphabetically (default)

2025-01-10 15:47:30
add_require
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

add_require(require) Instance Public methods Adds require to this

2025-01-10 15:47:30
find_attribute_named
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

find_attribute_named(name) Instance Public methods Finds an attribute with name

2025-01-10 15:47:30
modules_hash
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

modules_hash() Instance Public methods

2025-01-10 15:47:30
set_visibility_for
  • References/Ruby on Rails/Ruby/Classes/RDoc/RDoc::Context

set_visibility_for(methods, visibility, singleton = false) Instance Public methods Given

2025-01-10 15:47:30