Sha256: f847f7fe9bde76f10be3965333bbb2071827e3c494e1042b52f6fd35321fc5d6

Contents?: true

Size: 901 Bytes

Versions: 67

Compression:

Stored size: 901 Bytes

Contents

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

Version data entries

67 entries across 67 versions & 2 rubygems

Version Path
rbs-3.8.1 sig/annotate/rdoc_source.rbs
rbs-3.8.0 sig/annotate/rdoc_source.rbs
rbs-3.8.0.pre.1 sig/annotate/rdoc_source.rbs
rbs-3.7.0.pre.1 sig/annotate/rdoc_source.rbs
rbs-3.7.0.dev.1 sig/annotate/rdoc_source.rbs
rbs-3.6.1 sig/annotate/rdoc_source.rbs
rbs-3.6.0 sig/annotate/rdoc_source.rbs
rbs-3.6.0.pre.3 sig/annotate/rdoc_source.rbs
rbs-3.6.0.pre.2 sig/annotate/rdoc_source.rbs
rbs-3.6.0.pre.1 sig/annotate/rdoc_source.rbs
rbs-3.6.0.dev.1 sig/annotate/rdoc_source.rbs
rbs-3.5.3 sig/annotate/rdoc_source.rbs
rbs-3.5.2 sig/annotate/rdoc_source.rbs
rbs-3.5.1 sig/annotate/rdoc_source.rbs
rbs-3.5.1.pre.1 sig/annotate/rdoc_source.rbs
rbs-3.5.0 sig/annotate/rdoc_source.rbs
rbs-3.5.0.pre.2 sig/annotate/rdoc_source.rbs
rbs-3.5.0.pre.1 sig/annotate/rdoc_source.rbs
rbs-3.4.4 sig/annotate/rdoc_source.rbs
rbs-3.4.3 sig/annotate/rdoc_source.rbs