PATH:
opt
/
alt
/
ruby24
/
lib64
/
ruby
/
2.4.0
/
rdoc
# frozen_string_literal: false ## # A file loaded by \#require class RDoc::Require < RDoc::CodeObject ## # Name of the required file attr_accessor :name ## # Creates a new Require that loads +name+ with +comment+ def initialize(name, comment) super() @name = name.gsub(/'|"/, "") #' @top_level = nil self.comment = comment end def inspect # :nodoc: "#<%s:0x%x require '%s' in %s>" % [ self.class, object_id, @name, parent_file_name, ] end def to_s # :nodoc: "require #{name} in: #{parent}" end ## # The RDoc::TopLevel corresponding to this require, or +nil+ if not found. def top_level @top_level ||= begin tl = RDoc::TopLevel.all_files_hash[name + '.rb'] if tl.nil? and RDoc::TopLevel.all_files.first.full_name =~ %r(^lib/) then # second chance tl = RDoc::TopLevel.all_files_hash['lib/' + name + '.rb'] end tl end end end
[-] ghost_method.rb
[edit]
[-] cross_reference.rb
[edit]
[-] ruby_lex.rb
[edit]
[+]
parser
[-] erbio.rb
[edit]
[-] rdoc.rb
[edit]
[-] parser.rb
[edit]
[-] meta_method.rb
[edit]
[-] comment.rb
[edit]
[-] method_attr.rb
[edit]
[-] markup.rb
[edit]
[-] rubygems_hook.rb
[edit]
[-] anon_class.rb
[edit]
[-] rd.rb
[edit]
[+]
context
[-] code_object.rb
[edit]
[+]
ri
[+]
stats
[-] any_method.rb
[edit]
[+]
markdown
[-] single_class.rb
[edit]
[-] attr.rb
[edit]
[-] erb_partial.rb
[edit]
[-] context.rb
[edit]
[-] normal_class.rb
[edit]
[-] i18n.rb
[edit]
[-] require.rb
[edit]
[-] tom_doc.rb
[edit]
[-] alias.rb
[edit]
[-] ruby_token.rb
[edit]
[-] class_module.rb
[edit]
[-] servlet.rb
[edit]
[+]
generator
[-] top_level.rb
[edit]
[+]
..
[-] ri.rb
[edit]
[-] include.rb
[edit]
[-] encoding.rb
[edit]
[+]
markup
[-] token_stream.rb
[edit]
[-] code_objects.rb
[edit]
[-] test_case.rb
[edit]
[+]
i18n
[-] task.rb
[edit]
[-] generator.rb
[edit]
[-] constant.rb
[edit]
[-] stats.rb
[edit]
[-] extend.rb
[edit]
[-] normal_module.rb
[edit]
[-] mixin.rb
[edit]
[-] markdown.rb
[edit]
[-] store.rb
[edit]
[-] text.rb
[edit]
[+]
rd
[-] known_classes.rb
[edit]
[-] options.rb
[edit]