mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Sync RDoc 6.14.0
This commit is contained in:
parent
ca1ea95784
commit
03eb777c69
185 changed files with 2008 additions and 1655 deletions
|
@ -52,7 +52,7 @@ module RDoc::RI::Paths
|
|||
##
|
||||
# The ri directory for the gem with +gem_name+.
|
||||
|
||||
def self.gem_dir name, version
|
||||
def self.gem_dir(name, version)
|
||||
req = Gem::Requirement.new "= #{version}"
|
||||
|
||||
spec = Gem::Specification.find_by_name name, req
|
||||
|
@ -67,7 +67,7 @@ module RDoc::RI::Paths
|
|||
# A +filter+ :all includes all versions of gems and includes gems without
|
||||
# ri documentation.
|
||||
|
||||
def self.gemdirs filter = :latest
|
||||
def self.gemdirs(filter = :latest)
|
||||
ri_paths = {}
|
||||
|
||||
all = Gem::Specification.map do |spec|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue