summaryrefslogtreecommitdiff
path: root/lib/optparse.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-04-11 09:03:07 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-04-11 09:03:36 +0900
commitf89486965b64bc04ed49073fd5ef48390e0026d2 (patch)
treeecfcd779d8c3ea9cf479edd21865dff98aeec0b9 /lib/optparse.rb
parentcb01437c24ce3f819ef15947748e3c723b9c52c6 (diff)
[ruby/optparse] Moved rdoc files to doc/optparse
https://github.com/ruby/optparse/commit/cccb28e0de
Diffstat (limited to 'lib/optparse.rb')
-rw-r--r--lib/optparse.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/optparse.rb b/lib/optparse.rb
index 0f92eba8cf..2eedef58bc 100644
--- a/lib/optparse.rb
+++ b/lib/optparse.rb
@@ -1314,7 +1314,7 @@ XXX
# :call-seq:
# make_switch(params, block = nil)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
def make_switch(opts, block = nil)
short, long, nolong, style, pattern, conv, not_pattern, not_conv, not_style = [], [], []
@@ -1452,7 +1452,7 @@ XXX
# :call-seq:
# define(*params, &block)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
def define(*opts, &block)
top.append(*(sw = make_switch(opts, block)))
@@ -1462,7 +1462,7 @@ XXX
# :call-seq:
# on(*params, &block)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
def on(*opts, &block)
define(*opts, &block)
@@ -1473,7 +1473,7 @@ XXX
# :call-seq:
# define_head(*params, &block)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
def define_head(*opts, &block)
top.prepend(*(sw = make_switch(opts, block)))
@@ -1483,7 +1483,7 @@ XXX
# :call-seq:
# on_head(*params, &block)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
# The new option is added at the head of the summary.
#
@@ -1496,7 +1496,7 @@ XXX
# :call-seq:
# define_tail(*params, &block)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
def define_tail(*opts, &block)
base.append(*(sw = make_switch(opts, block)))
@@ -1507,7 +1507,7 @@ XXX
# :call-seq:
# on_tail(*params, &block)
#
- # :include: ../doc/creates_option.rdoc
+ # :include: ../doc/optparse/creates_option.rdoc
#
# The new option is added at the tail of the summary.
#