HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ns3133907 6.8.0-86-generic #87-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 18:03:36 UTC 2025 x86_64
User: cssnetorguk (1024)
PHP: 8.2.28
Disabled: NONE
Upload Files
File: //usr/lib/ruby/gems/3.2.0/gems/rbs-2.8.2/sig/annotate/rdoc_source.rbs
module RBS
  module Annotate
    class RDocSource
      attr_accessor with_system_dir: bool
      attr_accessor with_gems_dir: bool
      attr_accessor with_site_dir: bool
      attr_accessor with_home_dir: bool

      attr_reader extra_dirs: Array[Pathname]

      attr_reader stores: Array[RDoc::Store]

      def initialize: () -> void

      def load: () -> void

      # Extract documents from `CodeObject`s
      def docs: () { () -> Array[RDoc::CodeObject]? } -> Array[RDoc::Markup::Document]?

      def find_class: (TypeName) -> Array[RDoc::ClassModule]?

      def find_const: (TypeName) -> Array[RDoc::Constant]?

      def find_method: (TypeName, instance_method: Symbol) -> Array[RDoc::AnyMethod]?
                     | (TypeName, singleton_method: Symbol) -> Array[RDoc::AnyMethod]?

      def find_attribute: (TypeName, Symbol, singleton: bool) -> Array[RDoc::Attr]?
    end
  end
end