active_cached_resource 0.0.1.pre → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
@@ -66,7 +66,7 @@ end
|
|
66
66
|
# work of Keiju ISHITSUKA of Nippon Rational Inc, who produced the Ruby
|
67
67
|
# parser for irb and the rtags package.
|
68
68
|
#
|
69
|
-
# source://rdoc//lib/rdoc.rb#
|
69
|
+
# source://rdoc//lib/rdoc.rb#56
|
70
70
|
module RDoc
|
71
71
|
class << self
|
72
72
|
# Searches and returns the directory for settings.
|
@@ -79,12 +79,12 @@ module RDoc
|
|
79
79
|
# Other than the home directory, the containing directory will be
|
80
80
|
# created automatically.
|
81
81
|
#
|
82
|
-
# source://rdoc//lib/rdoc.rb#
|
82
|
+
# source://rdoc//lib/rdoc.rb#132
|
83
83
|
def home; end
|
84
84
|
|
85
85
|
# Loads the best available YAML library.
|
86
86
|
#
|
87
|
-
# source://rdoc//lib/rdoc.rb#
|
87
|
+
# source://rdoc//lib/rdoc.rb#105
|
88
88
|
def load_yaml; end
|
89
89
|
end
|
90
90
|
end
|
@@ -573,7 +573,7 @@ class RDoc::ClassModule < ::RDoc::Context
|
|
573
573
|
# source://rdoc//lib/rdoc/code_object/class_module.rb#252
|
574
574
|
def each_ancestor; end
|
575
575
|
|
576
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
576
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#829
|
577
577
|
def embed_mixins; end
|
578
578
|
|
579
579
|
# Looks for a symbol in the #ancestors. See Context#find_local_symbol.
|
@@ -704,7 +704,7 @@ class RDoc::ClassModule < ::RDoc::Context
|
|
704
704
|
# Get all super classes of this class in an array. The last element might be
|
705
705
|
# a string if the name is unknown.
|
706
706
|
#
|
707
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
707
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#731
|
708
708
|
def super_classes; end
|
709
709
|
|
710
710
|
# Get the superclass of this class. Attempts to retrieve the superclass
|
@@ -715,17 +715,23 @@ class RDoc::ClassModule < ::RDoc::Context
|
|
715
715
|
|
716
716
|
# Set the superclass of this class to +superclass+
|
717
717
|
#
|
718
|
+
# where +superclass+ is one of:
|
719
|
+
#
|
720
|
+
# - +nil+
|
721
|
+
# - a String containing the full name of the superclass
|
722
|
+
# - the RDoc::ClassModule representing the superclass
|
723
|
+
#
|
718
724
|
# @raise [NoMethodError]
|
719
725
|
#
|
720
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
726
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#715
|
721
727
|
def superclass=(superclass); end
|
722
728
|
|
723
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
729
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#741
|
724
730
|
def to_s; end
|
725
731
|
|
726
732
|
# 'module' or 'class'
|
727
733
|
#
|
728
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
734
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#752
|
729
735
|
def type; end
|
730
736
|
|
731
737
|
# Updates the child modules & classes by replacing the ones that are
|
@@ -742,7 +748,7 @@ class RDoc::ClassModule < ::RDoc::Context
|
|
742
748
|
# the aliased modules are included in the constants of the class/module,
|
743
749
|
# that are listed separately.
|
744
750
|
#
|
745
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
751
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#771
|
746
752
|
def update_aliases; end
|
747
753
|
|
748
754
|
# Deletes from #extends those whose module has been removed from the
|
@@ -750,7 +756,7 @@ class RDoc::ClassModule < ::RDoc::Context
|
|
750
756
|
# --
|
751
757
|
# FIXME: like update_includes, extends are not reliably removed
|
752
758
|
#
|
753
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
759
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#819
|
754
760
|
def update_extends; end
|
755
761
|
|
756
762
|
# Deletes from #includes those whose module has been removed from the
|
@@ -758,12 +764,12 @@ class RDoc::ClassModule < ::RDoc::Context
|
|
758
764
|
# --
|
759
765
|
# FIXME: includes are not reliably removed, see _possible_bug test case
|
760
766
|
#
|
761
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
767
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#804
|
762
768
|
def update_includes; end
|
763
769
|
|
764
770
|
private
|
765
771
|
|
766
|
-
# source://rdoc//lib/rdoc/code_object/class_module.rb#
|
772
|
+
# source://rdoc//lib/rdoc/code_object/class_module.rb#858
|
767
773
|
def prepare_to_embed(code_object, singleton = T.unsafe(nil)); end
|
768
774
|
|
769
775
|
class << self
|
@@ -5815,7 +5821,7 @@ class RDoc::Markup::PreProcess
|
|
5815
5821
|
# Look for the given file in the directory containing the current file,
|
5816
5822
|
# and then in each of the directories specified in the RDOC_INCLUDE path
|
5817
5823
|
#
|
5818
|
-
# source://rdoc//lib/rdoc/markup/pre_process.rb#
|
5824
|
+
# source://rdoc//lib/rdoc/markup/pre_process.rb#308
|
5819
5825
|
def find_include_file(name); end
|
5820
5826
|
|
5821
5827
|
# Look for directives in the given +text+.
|
@@ -5862,7 +5868,7 @@ class RDoc::Markup::PreProcess
|
|
5862
5868
|
# TODO shift left the whole file content in that case
|
5863
5869
|
# TODO comment stop/start #-- and #++ in included file must be processed here
|
5864
5870
|
#
|
5865
|
-
# source://rdoc//lib/rdoc/markup/pre_process.rb#
|
5871
|
+
# source://rdoc//lib/rdoc/markup/pre_process.rb#282
|
5866
5872
|
def include_file(name, indent, encoding); end
|
5867
5873
|
|
5868
5874
|
# An RDoc::Options instance that will be filled in with overrides from
|
@@ -7395,6 +7401,9 @@ class RDoc::MethodAttr < ::RDoc::CodeObject
|
|
7395
7401
|
# source://rdoc//lib/rdoc/code_object/method_attr.rb#12
|
7396
7402
|
def name=(_arg0); end
|
7397
7403
|
|
7404
|
+
# source://rdoc//lib/rdoc/code_object/method_attr.rb#418
|
7405
|
+
def name_ord_range; end
|
7406
|
+
|
7398
7407
|
# '::' for a class method/attribute, '#' for an instance method.
|
7399
7408
|
#
|
7400
7409
|
# source://rdoc//lib/rdoc/code_object/method_attr.rb#319
|
@@ -8716,8 +8725,9 @@ class RDoc::Parser::C < ::RDoc::Parser
|
|
8716
8725
|
# */
|
8717
8726
|
#
|
8718
8727
|
# This method modifies the +comment+
|
8728
|
+
# Both :main: and :title: directives are deprecated and will be removed in RDoc 7.
|
8719
8729
|
#
|
8720
|
-
# source://rdoc//lib/rdoc/parser/c.rb#
|
8730
|
+
# source://rdoc//lib/rdoc/parser/c.rb#1102
|
8721
8731
|
def look_for_directives_in(context, comment); end
|
8722
8732
|
|
8723
8733
|
# Classes found while parsing the C file that were not yet registered due to
|
@@ -8728,25 +8738,25 @@ class RDoc::Parser::C < ::RDoc::Parser
|
|
8728
8738
|
|
8729
8739
|
# Creates a RDoc::Comment instance.
|
8730
8740
|
#
|
8731
|
-
# source://rdoc//lib/rdoc/parser/c.rb#
|
8741
|
+
# source://rdoc//lib/rdoc/parser/c.rb#1250
|
8732
8742
|
def new_comment(text = T.unsafe(nil), location = T.unsafe(nil), language = T.unsafe(nil)); end
|
8733
8743
|
|
8734
8744
|
# Extracts parameters from the +method_body+ and returns a method
|
8735
8745
|
# parameter string. Follows 1.9.3dev's scan-arg-spec, see README.EXT
|
8736
8746
|
#
|
8737
|
-
# source://rdoc//lib/rdoc/parser/c.rb#
|
8747
|
+
# source://rdoc//lib/rdoc/parser/c.rb#1139
|
8738
8748
|
def rb_scan_args(method_body); end
|
8739
8749
|
|
8740
8750
|
# Removes lines that are commented out that might otherwise get picked up
|
8741
8751
|
# when scanning for classes and methods
|
8742
8752
|
#
|
8743
|
-
# source://rdoc//lib/rdoc/parser/c.rb#
|
8753
|
+
# source://rdoc//lib/rdoc/parser/c.rb#1222
|
8744
8754
|
def remove_commented_out_lines; end
|
8745
8755
|
|
8746
8756
|
# Extracts the classes, modules, methods, attributes, constants and aliases
|
8747
8757
|
# from a C file and returns an RDoc::TopLevel for this file
|
8748
8758
|
#
|
8749
|
-
# source://rdoc//lib/rdoc/parser/c.rb#
|
8759
|
+
# source://rdoc//lib/rdoc/parser/c.rb#1230
|
8750
8760
|
def scan; end
|
8751
8761
|
|
8752
8762
|
# Maps C variable names to names of Ruby singleton classes
|
@@ -10474,7 +10484,7 @@ class RDoc::RDoc
|
|
10474
10484
|
# By default, output will be stored in a directory called "doc" below the
|
10475
10485
|
# current directory, so make sure you're somewhere writable before invoking.
|
10476
10486
|
#
|
10477
|
-
# source://rdoc//lib/rdoc/rdoc.rb#
|
10487
|
+
# source://rdoc//lib/rdoc/rdoc.rb#452
|
10478
10488
|
def document(options); end
|
10479
10489
|
|
10480
10490
|
# Report an error message and exit
|
@@ -10494,7 +10504,7 @@ class RDoc::RDoc
|
|
10494
10504
|
# output dir using the generator selected
|
10495
10505
|
# by the RDoc options
|
10496
10506
|
#
|
10497
|
-
# source://rdoc//lib/rdoc/rdoc.rb#
|
10507
|
+
# source://rdoc//lib/rdoc/rdoc.rb#517
|
10498
10508
|
def generate; end
|
10499
10509
|
|
10500
10510
|
# Generator instance used for creating output
|
@@ -10573,18 +10583,18 @@ class RDoc::RDoc
|
|
10573
10583
|
|
10574
10584
|
# Parse each file on the command line, recursively entering directories.
|
10575
10585
|
#
|
10576
|
-
# source://rdoc//lib/rdoc/rdoc.rb#
|
10586
|
+
# source://rdoc//lib/rdoc/rdoc.rb#403
|
10577
10587
|
def parse_files(files); end
|
10578
10588
|
|
10579
10589
|
# Removes a siginfo handler and replaces the previous
|
10580
10590
|
#
|
10581
|
-
# source://rdoc//lib/rdoc/rdoc.rb#
|
10591
|
+
# source://rdoc//lib/rdoc/rdoc.rb#537
|
10582
10592
|
def remove_siginfo_handler; end
|
10583
10593
|
|
10584
10594
|
# Removes file extensions known to be unparseable from +files+ and TAGS
|
10585
10595
|
# files for emacs and vim.
|
10586
10596
|
#
|
10587
|
-
# source://rdoc//lib/rdoc/rdoc.rb#
|
10597
|
+
# source://rdoc//lib/rdoc/rdoc.rb#430
|
10588
10598
|
def remove_unparseable(files); end
|
10589
10599
|
|
10590
10600
|
# Create an output dir if it doesn't exist. If it does exist, but doesn't
|
@@ -10664,129 +10674,129 @@ class RDoc::RI::Driver
|
|
10664
10674
|
#
|
10665
10675
|
# @return [Driver] a new instance of Driver
|
10666
10676
|
#
|
10667
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10677
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#402
|
10668
10678
|
def initialize(initial_options = T.unsafe(nil)); end
|
10669
10679
|
|
10670
10680
|
# Adds paths for undocumented classes +also_in+ to +out+
|
10671
10681
|
#
|
10672
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10682
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#441
|
10673
10683
|
def add_also_in(out, also_in); end
|
10674
10684
|
|
10675
10685
|
# Adds a class header to +out+ for class +name+ which is described in
|
10676
10686
|
# +classes+.
|
10677
10687
|
#
|
10678
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10688
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#458
|
10679
10689
|
def add_class(out, name, classes); end
|
10680
10690
|
|
10681
10691
|
# Adds +extends+ to +out+
|
10682
10692
|
#
|
10683
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10693
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#485
|
10684
10694
|
def add_extends(out, extends); end
|
10685
10695
|
|
10686
10696
|
# Adds a list of +extensions+ to this module of the given +type+ to +out+.
|
10687
10697
|
# add_includes and add_extends call this, so you should use those directly.
|
10688
10698
|
#
|
10689
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10699
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#493
|
10690
10700
|
def add_extension_modules(out, type, extensions); end
|
10691
10701
|
|
10692
10702
|
# Renders multiple included +modules+ from +store+ to +out+.
|
10693
10703
|
#
|
10694
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10704
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#511
|
10695
10705
|
def add_extension_modules_multiple(out, store, modules); end
|
10696
10706
|
|
10697
10707
|
# Adds a single extension module +include+ from +store+ to +out+
|
10698
10708
|
#
|
10699
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10709
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#538
|
10700
10710
|
def add_extension_modules_single(out, store, include); end
|
10701
10711
|
|
10702
10712
|
# Adds "(from ...)" to +out+ for +store+
|
10703
10713
|
#
|
10704
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10714
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#478
|
10705
10715
|
def add_from(out, store); end
|
10706
10716
|
|
10707
10717
|
# Adds +includes+ to +out+
|
10708
10718
|
#
|
10709
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10719
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#552
|
10710
10720
|
def add_includes(out, includes); end
|
10711
10721
|
|
10712
10722
|
# Looks up the method +name+ and adds it to +out+
|
10713
10723
|
#
|
10714
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10724
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#559
|
10715
10725
|
def add_method(out, name); end
|
10716
10726
|
|
10717
10727
|
# Adds documentation for all methods in +klass+ to +out+
|
10718
10728
|
#
|
10719
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10729
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#567
|
10720
10730
|
def add_method_documentation(out, klass); end
|
10721
10731
|
|
10722
10732
|
# Adds a list of +methods+ to +out+ with a heading of +name+
|
10723
10733
|
#
|
10724
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10734
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#580
|
10725
10735
|
def add_method_list(out, methods, name); end
|
10726
10736
|
|
10727
10737
|
# Returns ancestor classes of +klass+
|
10728
10738
|
#
|
10729
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10739
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#600
|
10730
10740
|
def ancestors_of(klass); end
|
10731
10741
|
|
10732
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10742
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#938
|
10733
10743
|
def check_did_you_mean; end
|
10734
10744
|
|
10735
10745
|
# For RubyGems backwards compatibility
|
10736
10746
|
#
|
10737
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10747
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#631
|
10738
10748
|
def class_cache; end
|
10739
10749
|
|
10740
10750
|
# Builds a RDoc::Markup::Document from +found+, +klasess+ and +includes+
|
10741
10751
|
#
|
10742
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10752
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#637
|
10743
10753
|
def class_document(name, found, klasses, includes, extends); end
|
10744
10754
|
|
10745
10755
|
# Adds the class +comment+ to +out+.
|
10746
10756
|
#
|
10747
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10757
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#660
|
10748
10758
|
def class_document_comment(out, comment); end
|
10749
10759
|
|
10750
10760
|
# Adds the constants from +klass+ to the Document +out+.
|
10751
10761
|
#
|
10752
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10762
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#680
|
10753
10763
|
def class_document_constants(out, klass); end
|
10754
10764
|
|
10755
10765
|
# Hash mapping a known class or module to the stores it can be loaded from
|
10756
10766
|
#
|
10757
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10767
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#704
|
10758
10768
|
def classes; end
|
10759
10769
|
|
10760
10770
|
# Returns the stores wherein +name+ is found along with the classes,
|
10761
10771
|
# extends and includes that match it
|
10762
10772
|
#
|
10763
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10773
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#724
|
10764
10774
|
def classes_and_includes_and_extends_for(name); end
|
10765
10775
|
|
10766
10776
|
# Completes +name+ based on the caches. For Readline
|
10767
10777
|
#
|
10768
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10778
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#749
|
10769
10779
|
def complete(name); end
|
10770
10780
|
|
10771
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10781
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#760
|
10772
10782
|
def complete_klass(name, klass, selector, method, completions); end
|
10773
10783
|
|
10774
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10784
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#779
|
10775
10785
|
def complete_method(name, klass, selector, completions); end
|
10776
10786
|
|
10777
10787
|
# Converts +document+ to text and writes it to the pager
|
10778
10788
|
#
|
10779
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10789
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#799
|
10780
10790
|
def display(document); end
|
10781
10791
|
|
10782
10792
|
# Outputs formatted RI data for class +name+. Groups undocumented classes
|
10783
10793
|
#
|
10784
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10794
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#812
|
10785
10795
|
def display_class(name); end
|
10786
10796
|
|
10787
10797
|
# Outputs formatted RI data for method +name+
|
10788
10798
|
#
|
10789
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10799
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#828
|
10790
10800
|
def display_method(name); end
|
10791
10801
|
|
10792
10802
|
# Outputs formatted RI data for the class or method +name+.
|
@@ -10794,39 +10804,42 @@ class RDoc::RI::Driver
|
|
10794
10804
|
# Returns true if +name+ was found, false if it was not an alternative could
|
10795
10805
|
# be guessed, raises an error if +name+ couldn't be guessed.
|
10796
10806
|
#
|
10797
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10807
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#844
|
10798
10808
|
def display_name(name); end
|
10799
10809
|
|
10800
10810
|
# Displays each name in +name+
|
10801
10811
|
#
|
10802
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10812
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#873
|
10803
10813
|
def display_names(names); end
|
10804
10814
|
|
10805
10815
|
# Outputs formatted RI data for page +name+.
|
10806
10816
|
#
|
10807
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10817
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#884
|
10808
10818
|
def display_page(name); end
|
10809
10819
|
|
10810
10820
|
# Outputs a formatted RI page list for the pages in +store+.
|
10811
10821
|
#
|
10812
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10822
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#915
|
10813
10823
|
def display_page_list(store, pages = T.unsafe(nil), search = T.unsafe(nil)); end
|
10814
10824
|
|
10815
10825
|
# Expands abbreviated klass +klass+ into a fully-qualified class. "Zl::Da"
|
10816
10826
|
# will be expanded to Zlib::DataError.
|
10817
10827
|
#
|
10818
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10828
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#959
|
10819
10829
|
def expand_class(klass); end
|
10820
10830
|
|
10821
10831
|
# Expands the class portion of +name+ into a fully-qualified class. See
|
10822
10832
|
# #expand_class.
|
10823
10833
|
#
|
10824
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10834
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#977
|
10825
10835
|
def expand_name(name); end
|
10826
10836
|
|
10837
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1525
|
10838
|
+
def expand_rdoc_refs_at_the_bottom(out); end
|
10839
|
+
|
10827
10840
|
# Filters the methods in +found+ trying to find a match for +name+.
|
10828
10841
|
#
|
10829
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10842
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#993
|
10830
10843
|
def filter_methods(found, name); end
|
10831
10844
|
|
10832
10845
|
# Yields items matching +name+ including the store they were found in, the
|
@@ -10834,7 +10847,7 @@ class RDoc::RI::Driver
|
|
10834
10847
|
# types of methods to look up (from #method_type), and the method name being
|
10835
10848
|
# searched for
|
10836
10849
|
#
|
10837
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10850
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1011
|
10838
10851
|
def find_methods(name); end
|
10839
10852
|
|
10840
10853
|
# Finds a store that matches +name+ which can be the name of a gem, "ruby",
|
@@ -10844,73 +10857,73 @@ class RDoc::RI::Driver
|
|
10844
10857
|
#
|
10845
10858
|
# @raise [RDoc::RI::Driver::NotFoundError]
|
10846
10859
|
#
|
10847
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10860
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1057
|
10848
10861
|
def find_store(name); end
|
10849
10862
|
|
10850
10863
|
# Creates a new RDoc::Markup::Formatter. If a formatter is given with -f,
|
10851
10864
|
# use it. If we're outputting to a pager, use bs, otherwise ansi.
|
10852
10865
|
#
|
10853
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10866
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1074
|
10854
10867
|
def formatter(io); end
|
10855
10868
|
|
10856
10869
|
# Runs ri interactively using Readline if it is available.
|
10857
10870
|
#
|
10858
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10871
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1087
|
10859
10872
|
def interactive; end
|
10860
10873
|
|
10861
10874
|
# Lists classes known to ri starting with +names+. If +names+ is empty all
|
10862
10875
|
# known classes are shown.
|
10863
10876
|
#
|
10864
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10877
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1126
|
10865
10878
|
def list_known_classes(names = T.unsafe(nil)); end
|
10866
10879
|
|
10867
10880
|
# Returns an Array of methods matching +name+
|
10868
10881
|
#
|
10869
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10882
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1158
|
10870
10883
|
def list_methods_matching(name); end
|
10871
10884
|
|
10872
10885
|
# Loads RI data for method +name+ on +klass+ from +store+. +type+ and
|
10873
10886
|
# +cache+ indicate if it is a class or instance method.
|
10874
10887
|
#
|
10875
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10888
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1197
|
10876
10889
|
def load_method(store, cache, klass, type, name); end
|
10877
10890
|
|
10878
10891
|
# Returns an Array of RI data for methods matching +name+
|
10879
10892
|
#
|
10880
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10893
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1220
|
10881
10894
|
def load_methods_matching(name); end
|
10882
10895
|
|
10883
10896
|
# Returns a filtered list of methods matching +name+
|
10884
10897
|
#
|
10885
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10898
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1241
|
10886
10899
|
def lookup_method(name); end
|
10887
10900
|
|
10888
10901
|
# Builds a RDoc::Markup::Document from +found+, +klasses+ and +includes+
|
10889
10902
|
#
|
10890
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10891
|
-
def method_document(name, filtered); end
|
10903
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1266
|
10904
|
+
def method_document(out, name, filtered); end
|
10892
10905
|
|
10893
10906
|
# Returns the type of method (:both, :instance, :class) for +selector+
|
10894
10907
|
#
|
10895
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10908
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1282
|
10896
10909
|
def method_type(selector); end
|
10897
10910
|
|
10898
10911
|
# Returns a regular expression for +name+ that will match an
|
10899
10912
|
# RDoc::AnyMethod's name.
|
10900
10913
|
#
|
10901
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10914
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1294
|
10902
10915
|
def name_regexp(name); end
|
10903
10916
|
|
10904
10917
|
# Paginates output through a pager program.
|
10905
10918
|
#
|
10906
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10919
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1308
|
10907
10920
|
def page; end
|
10908
10921
|
|
10909
10922
|
# Are we using a pager?
|
10910
10923
|
#
|
10911
10924
|
# @return [Boolean]
|
10912
10925
|
#
|
10913
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10926
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1326
|
10914
10927
|
def paging?; end
|
10915
10928
|
|
10916
10929
|
# Extracts the class, selector and method name parts from +name+ like
|
@@ -10919,36 +10932,36 @@ class RDoc::RI::Driver
|
|
10919
10932
|
# NOTE: Given Foo::Bar, Bar is considered a class even though it may be a
|
10920
10933
|
# method
|
10921
10934
|
#
|
10922
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10935
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1337
|
10923
10936
|
def parse_name(name); end
|
10924
10937
|
|
10925
10938
|
# Renders the +klass+ from +store+ to +out+. If the klass has no
|
10926
10939
|
# documentable items the class is added to +also_in+ instead.
|
10927
10940
|
#
|
10928
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10941
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1369
|
10929
10942
|
def render_class(out, store, klass, also_in); end
|
10930
10943
|
|
10931
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10944
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1399
|
10932
10945
|
def render_method(out, store, method, name); end
|
10933
10946
|
|
10934
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10947
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1419
|
10935
10948
|
def render_method_arguments(out, arglists); end
|
10936
10949
|
|
10937
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10950
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1428
|
10938
10951
|
def render_method_comment(out, method, alias_for = T.unsafe(nil)); end
|
10939
10952
|
|
10940
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10953
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1446
|
10941
10954
|
def render_method_superclass(out, method); end
|
10942
10955
|
|
10943
10956
|
# Looks up and displays ri data according to the options given.
|
10944
10957
|
#
|
10945
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10958
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1458
|
10946
10959
|
def run; end
|
10947
10960
|
|
10948
10961
|
# Sets up a pager program to pass output through. Tries the RI_PAGER and
|
10949
10962
|
# PAGER environment variables followed by pager, less then more.
|
10950
10963
|
#
|
10951
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10964
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1478
|
10952
10965
|
def setup_pager; end
|
10953
10966
|
|
10954
10967
|
# Show all method documentation following a class or module
|
@@ -10963,7 +10976,7 @@ class RDoc::RI::Driver
|
|
10963
10976
|
|
10964
10977
|
# Starts a WEBrick server for ri.
|
10965
10978
|
#
|
10966
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
10979
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1504
|
10967
10980
|
def start_server; end
|
10968
10981
|
|
10969
10982
|
# An RDoc::RI::Store for each entry in the RI path
|
@@ -10994,17 +11007,17 @@ class RDoc::RI::Driver
|
|
10994
11007
|
|
10995
11008
|
# Dump +data_path+ using pp
|
10996
11009
|
#
|
10997
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
11010
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#99
|
10998
11011
|
def dump(data_path); end
|
10999
11012
|
|
11000
11013
|
# Parses +argv+ and returns a Hash of options
|
11001
11014
|
#
|
11002
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
11015
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#110
|
11003
11016
|
def process_args(argv); end
|
11004
11017
|
|
11005
11018
|
# Runs the ri command line executable using +argv+
|
11006
11019
|
#
|
11007
|
-
# source://rdoc//lib/rdoc/ri/driver.rb#
|
11020
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#387
|
11008
11021
|
def run(argv = T.unsafe(nil)); end
|
11009
11022
|
end
|
11010
11023
|
end
|
@@ -11027,6 +11040,9 @@ class RDoc::RI::Driver::NotFoundError < ::RDoc::RI::Driver::Error
|
|
11027
11040
|
def name; end
|
11028
11041
|
end
|
11029
11042
|
|
11043
|
+
# source://rdoc//lib/rdoc/ri/driver.rb#1523
|
11044
|
+
RDoc::RI::Driver::RDOC_REFS_REGEXP = T.let(T.unsafe(nil), Regexp)
|
11045
|
+
|
11030
11046
|
# For RubyGems backwards compatibility
|
11031
11047
|
#
|
11032
11048
|
# source://rdoc//lib/rdoc/ri/formatter.rb#5
|
@@ -11395,34 +11411,34 @@ class RDoc::Store
|
|
11395
11411
|
|
11396
11412
|
# Returns all classes discovered by RDoc
|
11397
11413
|
#
|
11398
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11414
|
+
# source://rdoc//lib/rdoc/store.rb#224
|
11399
11415
|
def all_classes; end
|
11400
11416
|
|
11401
11417
|
# Returns all classes and modules discovered by RDoc
|
11402
11418
|
#
|
11403
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11419
|
+
# source://rdoc//lib/rdoc/store.rb#231
|
11404
11420
|
def all_classes_and_modules; end
|
11405
11421
|
|
11406
11422
|
# All TopLevels known to RDoc
|
11407
11423
|
#
|
11408
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11424
|
+
# source://rdoc//lib/rdoc/store.rb#238
|
11409
11425
|
def all_files; end
|
11410
11426
|
|
11411
11427
|
# Returns all modules discovered by RDoc
|
11412
11428
|
#
|
11413
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11429
|
+
# source://rdoc//lib/rdoc/store.rb#245
|
11414
11430
|
def all_modules; end
|
11415
11431
|
|
11416
11432
|
# Ancestors cache accessor. Maps a klass name to an Array of its ancestors
|
11417
11433
|
# in this store. If Foo in this store inherits from Object, Kernel won't be
|
11418
11434
|
# listed (it will be included from ruby's ri store).
|
11419
11435
|
#
|
11420
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11436
|
+
# source://rdoc//lib/rdoc/store.rb#254
|
11421
11437
|
def ancestors; end
|
11422
11438
|
|
11423
11439
|
# Attributes cache accessor. Maps a class to an Array of its attributes.
|
11424
11440
|
#
|
11425
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11441
|
+
# source://rdoc//lib/rdoc/store.rb#261
|
11426
11442
|
def attributes; end
|
11427
11443
|
|
11428
11444
|
# Maps C variables to class or module names for each parsed C file.
|
@@ -11451,34 +11467,34 @@ class RDoc::Store
|
|
11451
11467
|
|
11452
11468
|
# Path to the cache file
|
11453
11469
|
#
|
11454
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11470
|
+
# source://rdoc//lib/rdoc/store.rb#268
|
11455
11471
|
def cache_path; end
|
11456
11472
|
|
11457
11473
|
# Path to the ri data for +klass_name+
|
11458
11474
|
#
|
11459
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11475
|
+
# source://rdoc//lib/rdoc/store.rb#275
|
11460
11476
|
def class_file(klass_name); end
|
11461
11477
|
|
11462
11478
|
# Class methods cache accessor. Maps a class to an Array of its class
|
11463
11479
|
# methods (not full name).
|
11464
11480
|
#
|
11465
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11481
|
+
# source://rdoc//lib/rdoc/store.rb#284
|
11466
11482
|
def class_methods; end
|
11467
11483
|
|
11468
11484
|
# Path where data for +klass_name+ will be stored (methods or class data)
|
11469
11485
|
#
|
11470
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11486
|
+
# source://rdoc//lib/rdoc/store.rb#291
|
11471
11487
|
def class_path(klass_name); end
|
11472
11488
|
|
11473
11489
|
# Hash of all classes known to RDoc
|
11474
11490
|
#
|
11475
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11491
|
+
# source://rdoc//lib/rdoc/store.rb#298
|
11476
11492
|
def classes_hash; end
|
11477
11493
|
|
11478
11494
|
# Removes empty items and ensures item in each collection are unique and
|
11479
11495
|
# sorted
|
11480
11496
|
#
|
11481
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11497
|
+
# source://rdoc//lib/rdoc/store.rb#306
|
11482
11498
|
def clean_cache_collection(collection); end
|
11483
11499
|
|
11484
11500
|
# Prepares the RDoc code object tree for use by a generator.
|
@@ -11496,7 +11512,7 @@ class RDoc::Store
|
|
11496
11512
|
#
|
11497
11513
|
# See also RDoc::Context#remove_from_documentation?
|
11498
11514
|
#
|
11499
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11515
|
+
# source://rdoc//lib/rdoc/store.rb#334
|
11500
11516
|
def complete(min_visibility); end
|
11501
11517
|
|
11502
11518
|
# If true this Store will not write any files
|
@@ -11521,43 +11537,43 @@ class RDoc::Store
|
|
11521
11537
|
|
11522
11538
|
# Hash of all files known to RDoc
|
11523
11539
|
#
|
11524
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11540
|
+
# source://rdoc//lib/rdoc/store.rb#374
|
11525
11541
|
def files_hash; end
|
11526
11542
|
|
11527
11543
|
# Finds the enclosure (namespace) for the given C +variable+.
|
11528
11544
|
#
|
11529
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11545
|
+
# source://rdoc//lib/rdoc/store.rb#381
|
11530
11546
|
def find_c_enclosure(variable); end
|
11531
11547
|
|
11532
11548
|
# Finds the class with +name+ in all discovered classes
|
11533
11549
|
#
|
11534
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11550
|
+
# source://rdoc//lib/rdoc/store.rb#406
|
11535
11551
|
def find_class_named(name); end
|
11536
11552
|
|
11537
11553
|
# Finds the class with +name+ starting in namespace +from+
|
11538
11554
|
#
|
11539
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11555
|
+
# source://rdoc//lib/rdoc/store.rb#413
|
11540
11556
|
def find_class_named_from(name, from); end
|
11541
11557
|
|
11542
11558
|
# Finds the class or module with +name+
|
11543
11559
|
#
|
11544
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11560
|
+
# source://rdoc//lib/rdoc/store.rb#431
|
11545
11561
|
def find_class_or_module(name); end
|
11546
11562
|
|
11547
11563
|
# Finds the file with +name+ in all discovered files
|
11548
11564
|
#
|
11549
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11565
|
+
# source://rdoc//lib/rdoc/store.rb#439
|
11550
11566
|
def find_file_named(name); end
|
11551
11567
|
|
11552
11568
|
# Finds the module with +name+ in all discovered modules
|
11553
11569
|
#
|
11554
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11570
|
+
# source://rdoc//lib/rdoc/store.rb#446
|
11555
11571
|
def find_module_named(name); end
|
11556
11572
|
|
11557
11573
|
# Returns the RDoc::TopLevel that is a text file and has the given
|
11558
11574
|
# +file_name+
|
11559
11575
|
#
|
11560
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11576
|
+
# source://rdoc//lib/rdoc/store.rb#454
|
11561
11577
|
def find_text_page(file_name); end
|
11562
11578
|
|
11563
11579
|
# Finds unique classes/modules defined in +all_hash+,
|
@@ -11566,7 +11582,7 @@ class RDoc::Store
|
|
11566
11582
|
# --
|
11567
11583
|
# TODO aliases should be registered by Context#add_module_alias
|
11568
11584
|
#
|
11569
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11585
|
+
# source://rdoc//lib/rdoc/store.rb#467
|
11570
11586
|
def find_unique(all_hash); end
|
11571
11587
|
|
11572
11588
|
# Fixes the erroneous <tt>BasicObject < Object</tt> in 1.9.
|
@@ -11577,95 +11593,95 @@ class RDoc::Store
|
|
11577
11593
|
# We fix BasicObject right away if we are running in a Ruby
|
11578
11594
|
# version >= 1.9.
|
11579
11595
|
#
|
11580
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11596
|
+
# source://rdoc//lib/rdoc/store.rb#486
|
11581
11597
|
def fix_basic_object_inheritance; end
|
11582
11598
|
|
11583
11599
|
# Friendly rendition of #path
|
11584
11600
|
#
|
11585
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11601
|
+
# source://rdoc//lib/rdoc/store.rb#495
|
11586
11602
|
def friendly_path; end
|
11587
11603
|
|
11588
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11604
|
+
# source://rdoc//lib/rdoc/store.rb#507
|
11589
11605
|
def inspect; end
|
11590
11606
|
|
11591
11607
|
# Instance methods cache accessor. Maps a class to an Array of its
|
11592
11608
|
# instance methods (not full name).
|
11593
11609
|
#
|
11594
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11610
|
+
# source://rdoc//lib/rdoc/store.rb#515
|
11595
11611
|
def instance_methods; end
|
11596
11612
|
|
11597
11613
|
# Loads all items from this store into memory. This recreates a
|
11598
11614
|
# documentation tree for use by a generator
|
11599
11615
|
#
|
11600
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11616
|
+
# source://rdoc//lib/rdoc/store.rb#523
|
11601
11617
|
def load_all; end
|
11602
11618
|
|
11603
11619
|
# Loads cache file for this store
|
11604
11620
|
#
|
11605
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11621
|
+
# source://rdoc//lib/rdoc/store.rb#571
|
11606
11622
|
def load_cache; end
|
11607
11623
|
|
11608
11624
|
# Loads ri data for +klass_name+ and hooks it up to this store.
|
11609
11625
|
#
|
11610
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11626
|
+
# source://rdoc//lib/rdoc/store.rb#610
|
11611
11627
|
def load_class(klass_name); end
|
11612
11628
|
|
11613
11629
|
# Loads ri data for +klass_name+
|
11614
11630
|
#
|
11615
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11631
|
+
# source://rdoc//lib/rdoc/store.rb#628
|
11616
11632
|
def load_class_data(klass_name); end
|
11617
11633
|
|
11618
11634
|
# Loads ri data for +method_name+ in +klass_name+
|
11619
11635
|
#
|
11620
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11636
|
+
# source://rdoc//lib/rdoc/store.rb#641
|
11621
11637
|
def load_method(klass_name, method_name); end
|
11622
11638
|
|
11623
11639
|
# Loads ri data for +page_name+
|
11624
11640
|
#
|
11625
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11641
|
+
# source://rdoc//lib/rdoc/store.rb#657
|
11626
11642
|
def load_page(page_name); end
|
11627
11643
|
|
11628
11644
|
# Gets the main page for this RDoc store. This page is used as the root of
|
11629
11645
|
# the RDoc server.
|
11630
11646
|
#
|
11631
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11647
|
+
# source://rdoc//lib/rdoc/store.rb#673
|
11632
11648
|
def main; end
|
11633
11649
|
|
11634
11650
|
# Sets the main page for this RDoc store.
|
11635
11651
|
#
|
11636
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11652
|
+
# source://rdoc//lib/rdoc/store.rb#680
|
11637
11653
|
def main=(page); end
|
11638
11654
|
|
11639
11655
|
# Converts the variable => ClassModule map +variables+ from a C parser into
|
11640
11656
|
# a variable => class name map.
|
11641
11657
|
#
|
11642
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11658
|
+
# source://rdoc//lib/rdoc/store.rb#688
|
11643
11659
|
def make_variable_map(variables); end
|
11644
11660
|
|
11645
11661
|
# Path to the ri data for +method_name+ in +klass_name+
|
11646
11662
|
#
|
11647
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11663
|
+
# source://rdoc//lib/rdoc/store.rb#701
|
11648
11664
|
def method_file(klass_name, method_name); end
|
11649
11665
|
|
11650
11666
|
# Modules cache accessor. An Array of all the module (and class) names in
|
11651
11667
|
# the store.
|
11652
11668
|
#
|
11653
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11669
|
+
# source://rdoc//lib/rdoc/store.rb#715
|
11654
11670
|
def module_names; end
|
11655
11671
|
|
11656
11672
|
# Hash of all modules known to RDoc
|
11657
11673
|
#
|
11658
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11674
|
+
# source://rdoc//lib/rdoc/store.rb#722
|
11659
11675
|
def modules_hash; end
|
11660
11676
|
|
11661
11677
|
# Returns the RDoc::TopLevel that is a text file and has the given +name+
|
11662
11678
|
#
|
11663
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11679
|
+
# source://rdoc//lib/rdoc/store.rb#729
|
11664
11680
|
def page(name); end
|
11665
11681
|
|
11666
11682
|
# Path to the ri data for +page_name+
|
11667
11683
|
#
|
11668
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11684
|
+
# source://rdoc//lib/rdoc/store.rb#738
|
11669
11685
|
def page_file(page_name); end
|
11670
11686
|
|
11671
11687
|
# Path this store reads or writes
|
@@ -11694,32 +11710,37 @@ class RDoc::Store
|
|
11694
11710
|
#
|
11695
11711
|
# See RDoc::Context#remove_from_documentation?
|
11696
11712
|
#
|
11697
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11713
|
+
# source://rdoc//lib/rdoc/store.rb#749
|
11698
11714
|
def remove_nodoc(all_hash); end
|
11699
11715
|
|
11716
|
+
# Make sure any references to C variable names are resolved to the corresponding class.
|
11717
|
+
#
|
11718
|
+
# source://rdoc//lib/rdoc/store.rb#204
|
11719
|
+
def resolve_c_superclasses; end
|
11720
|
+
|
11700
11721
|
# Saves all entries in the store
|
11701
11722
|
#
|
11702
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11723
|
+
# source://rdoc//lib/rdoc/store.rb#759
|
11703
11724
|
def save; end
|
11704
11725
|
|
11705
11726
|
# Writes the cache file for this store
|
11706
11727
|
#
|
11707
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11728
|
+
# source://rdoc//lib/rdoc/store.rb#784
|
11708
11729
|
def save_cache; end
|
11709
11730
|
|
11710
11731
|
# Writes the ri data for +klass+ (or module)
|
11711
11732
|
#
|
11712
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11733
|
+
# source://rdoc//lib/rdoc/store.rb#811
|
11713
11734
|
def save_class(klass); end
|
11714
11735
|
|
11715
11736
|
# Writes the ri data for +method+ on +klass+
|
11716
11737
|
#
|
11717
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11738
|
+
# source://rdoc//lib/rdoc/store.rb#885
|
11718
11739
|
def save_method(klass, method); end
|
11719
11740
|
|
11720
11741
|
# Writes the ri data for +page+
|
11721
11742
|
#
|
11722
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11743
|
+
# source://rdoc//lib/rdoc/store.rb#908
|
11723
11744
|
def save_page(page); end
|
11724
11745
|
|
11725
11746
|
# Source of the contents of this store.
|
@@ -11730,18 +11751,18 @@ class RDoc::Store
|
|
11730
11751
|
# ri directory the store is "site". For other stores the source is the
|
11731
11752
|
# #path.
|
11732
11753
|
#
|
11733
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11754
|
+
# source://rdoc//lib/rdoc/store.rb#934
|
11734
11755
|
def source; end
|
11735
11756
|
|
11736
11757
|
# Gets the title for this RDoc store. This is used as the title in each
|
11737
11758
|
# page on the RDoc server
|
11738
11759
|
#
|
11739
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11760
|
+
# source://rdoc//lib/rdoc/store.rb#948
|
11740
11761
|
def title; end
|
11741
11762
|
|
11742
11763
|
# Sets the title page for this RDoc store.
|
11743
11764
|
#
|
11744
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11765
|
+
# source://rdoc//lib/rdoc/store.rb#955
|
11745
11766
|
def title=(title); end
|
11746
11767
|
|
11747
11768
|
# Type of ri datastore this was loaded from. See RDoc::RI::Driver,
|
@@ -11760,19 +11781,19 @@ class RDoc::Store
|
|
11760
11781
|
#
|
11761
11782
|
# ::complete must have been called prior to using this method.
|
11762
11783
|
#
|
11763
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11784
|
+
# source://rdoc//lib/rdoc/store.rb#964
|
11764
11785
|
def unique_classes; end
|
11765
11786
|
|
11766
11787
|
# Returns the unique classes and modules discovered by RDoc.
|
11767
11788
|
# ::complete must have been called prior to using this method.
|
11768
11789
|
#
|
11769
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11790
|
+
# source://rdoc//lib/rdoc/store.rb#972
|
11770
11791
|
def unique_classes_and_modules; end
|
11771
11792
|
|
11772
11793
|
# Returns the unique modules discovered by RDoc.
|
11773
11794
|
# ::complete must have been called prior to using this method.
|
11774
11795
|
#
|
11775
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11796
|
+
# source://rdoc//lib/rdoc/store.rb#980
|
11776
11797
|
def unique_modules; end
|
11777
11798
|
|
11778
11799
|
# The lazy constants alias will be discovered in passing
|
@@ -11782,16 +11803,16 @@ class RDoc::Store
|
|
11782
11803
|
|
11783
11804
|
# Sets the parser of +absolute_name+, unless it from a source code file.
|
11784
11805
|
#
|
11785
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11806
|
+
# source://rdoc//lib/rdoc/store.rb#215
|
11786
11807
|
def update_parser_of_file(absolute_name, parser); end
|
11787
11808
|
|
11788
11809
|
private
|
11789
11810
|
|
11790
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11811
|
+
# source://rdoc//lib/rdoc/store.rb#985
|
11791
11812
|
def marshal_load(file); end
|
11792
11813
|
end
|
11793
11814
|
|
11794
|
-
# source://rdoc//lib/rdoc/store.rb#
|
11815
|
+
# source://rdoc//lib/rdoc/store.rb#989
|
11795
11816
|
RDoc::Store::MarshalFilter = T.let(T.unsafe(nil), Proc)
|
11796
11817
|
|
11797
11818
|
# Raised when a stored file for a class, module, page or method is missing.
|