diff options
author | Burdette Lamar <BurdetteLamar@Yahoo.com> | 2021-04-09 08:21:34 -0500 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-04-11 08:52:50 +0900 |
commit | c795f30ef00e5d428b4ffaf95e91d61f4a26a505 (patch) | |
tree | d287c0292e4a25859a241e648242be09a9e4c4c7 /doc/creates_option.rdoc | |
parent | 97abd0f6afeeab287b371e9ccc5dd28a33d13a83 (diff) |
[ruby/optparse] Reorganize Ruby example files for sharing (#14)
https://github.com/ruby/optparse/commit/9a2352c1c9
Diffstat (limited to 'doc/creates_option.rdoc')
-rw-r--r-- | doc/creates_option.rdoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/creates_option.rdoc b/doc/creates_option.rdoc index d006706382..af1ac16f2b 100644 --- a/doc/creates_option.rdoc +++ b/doc/creates_option.rdoc @@ -1,7 +1,7 @@ Creates an option from the given parameters +params+. -See {Parameters for New Options}[doc/option_params/option_params_rdoc.html]. +See {Parameters for New Options}[doc/option_params_rdoc.html]. The block, if given, is the handler for the created option. When the option is encountered during command-line parsing, the block is called with the argument given for the option, if any. -See {Option Handlers}[doc/option_params/option_params_rdoc.html#label-Option+Handlers]. +See {Option Handlers}[doc/option_params_rdoc.html#label-Option+Handlers]. |