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
|
@ -154,7 +154,7 @@ class RDoc::Task < Rake::TaskLib
|
|||
# Create an RDoc task with the given name. See the RDoc::Task class overview
|
||||
# for documentation.
|
||||
|
||||
def initialize name = :rdoc # :yield: self
|
||||
def initialize(name = :rdoc) # :yield: self
|
||||
defaults
|
||||
|
||||
check_names name
|
||||
|
@ -170,7 +170,7 @@ class RDoc::Task < Rake::TaskLib
|
|||
# Ensures that +names+ only includes names for the :rdoc, :clobber_rdoc and
|
||||
# :rerdoc. If other names are given an ArgumentError is raised.
|
||||
|
||||
def check_names names
|
||||
def check_names(names)
|
||||
return unless Hash === names
|
||||
|
||||
invalid_options =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue