[前][次][番号順一覧][スレッド一覧]

ruby-changes:65843

From: Burdette <ko1@a...>
Date: Sun, 11 Apr 2021 09:05:06 +0900 (JST)
Subject: [ruby-changes:65843] c795f30ef0 (master): [ruby/optparse] Reorganize Ruby example files for sharing (#14)

https://git.ruby-lang.org/ruby.git/commit/?id=c795f30ef0

From c795f30ef00e5d428b4ffaf95e91d61f4a26a505 Mon Sep 17 00:00:00 2001
From: Burdette Lamar <BurdetteLamar@Y...>
Date: Fri, 9 Apr 2021 08:21:34 -0500
Subject: [ruby/optparse] Reorganize Ruby example files for sharing (#14)

https://github.com/ruby/optparse/commit/9a2352c1c9
---
 doc/creates_option.rdoc                    |   4 +-
 doc/option_params.rdoc                     | 845 +++++++++++++++++++++++++++++
 doc/option_params/argument_keywords.rb     |   6 -
 doc/option_params/argument_strings.rb      |   6 -
 doc/option_params/array.rb                 |   6 -
 doc/option_params/block.rb                 |   9 -
 doc/option_params/date.rb                  |   6 -
 doc/option_params/datetime.rb              |   6 -
 doc/option_params/decimal_integer.rb       |   7 -
 doc/option_params/decimal_numeric.rb       |   7 -
 doc/option_params/descriptions.rb          |  15 -
 doc/option_params/explicit_array_values.rb |   9 -
 doc/option_params/explicit_hash_values.rb  |   9 -
 doc/option_params/false_class.rb           |   6 -
 doc/option_params/float.rb                 |   6 -
 doc/option_params/integer.rb               |   6 -
 doc/option_params/long_binary.rb           |   6 -
 doc/option_params/long_optional.rb         |   6 -
 doc/option_params/long_required.rb         |   6 -
 doc/option_params/long_simple.rb           |   9 -
 doc/option_params/matched_values.rb        |   6 -
 doc/option_params/method.rb                |  11 -
 doc/option_params/mixed_names.rb           |  12 -
 doc/option_params/numeric.rb               |   6 -
 doc/option_params/object.rb                |   6 -
 doc/option_params/octal_integer.rb         |   7 -
 doc/option_params/option_params.rdoc       | 845 -----------------------------
 doc/option_params/proc.rb                  |  13 -
 doc/option_params/regexp.rb                |   6 -
 doc/option_params/shellwords.rb            |   6 -
 doc/option_params/short_optional.rb        |   6 -
 doc/option_params/short_range.rb           |   6 -
 doc/option_params/short_required.rb        |   6 -
 doc/option_params/short_simple.rb          |   9 -
 doc/option_params/string.rb                |   6 -
 doc/option_params/terminator.rb            |   6 -
 doc/option_params/time.rb                  |   6 -
 doc/option_params/true_class.rb            |   6 -
 doc/option_params/uri.rb                   |   6 -
 doc/ruby/argument_keywords.rb              |   6 +
 doc/ruby/argument_strings.rb               |   6 +
 doc/ruby/argv.rb                           |   2 +
 doc/ruby/array.rb                          |   6 +
 doc/ruby/block.rb                          |   9 +
 doc/ruby/date.rb                           |   6 +
 doc/ruby/datetime.rb                       |   6 +
 doc/ruby/decimal_integer.rb                |   7 +
 doc/ruby/decimal_numeric.rb                |   7 +
 doc/ruby/descriptions.rb                   |  15 +
 doc/ruby/explicit_array_values.rb          |   9 +
 doc/ruby/explicit_hash_values.rb           |   9 +
 doc/ruby/false_class.rb                    |   6 +
 doc/ruby/float.rb                          |   6 +
 doc/ruby/integer.rb                        |   6 +
 doc/ruby/long_binary.rb                    |   6 +
 doc/ruby/long_names.rb                     |   9 +
 doc/ruby/long_optional.rb                  |   6 +
 doc/ruby/long_required.rb                  |   6 +
 doc/ruby/long_simple.rb                    |   9 +
 doc/ruby/matched_values.rb                 |   6 +
 doc/ruby/method.rb                         |  11 +
 doc/ruby/mixed_names.rb                    |   9 +
 doc/ruby/numeric.rb                        |   6 +
 doc/ruby/object.rb                         |   6 +
 doc/ruby/octal_integer.rb                  |   7 +
 doc/ruby/optional_argument.rb              |   9 +
 doc/ruby/proc.rb                           |  13 +
 doc/ruby/regexp.rb                         |   6 +
 doc/ruby/required_argument.rb              |   9 +
 doc/ruby/shellwords.rb                     |   6 +
 doc/ruby/short_names.rb                    |   9 +
 doc/ruby/short_optional.rb                 |   6 +
 doc/ruby/short_range.rb                    |   6 +
 doc/ruby/short_required.rb                 |   6 +
 doc/ruby/short_simple.rb                   |   9 +
 doc/ruby/string.rb                         |   6 +
 doc/ruby/terminator.rb                     |   6 +
 doc/ruby/time.rb                           |   6 +
 doc/ruby/true_class.rb                     |   6 +
 doc/ruby/uri.rb                            |   6 +
 doc/tutorial.rdoc                          | 186 +++++++
 doc/tutorial/argv.rb                       |   2 -
 doc/tutorial/long_names.rb                 |   9 -
 doc/tutorial/mixed_names.rb                |   9 -
 doc/tutorial/optional_argument.rb          |   9 -
 doc/tutorial/required_argument.rb          |   9 -
 doc/tutorial/short_names.rb                |   9 -
 doc/tutorial/tutorial.rdoc                 | 186 -------
 88 files changed, 1329 insertions(+), 1341 deletions(-)
 create mode 100644 doc/option_params.rdoc
 delete mode 100644 doc/option_params/argument_keywords.rb
 delete mode 100644 doc/option_params/argument_strings.rb
 delete mode 100644 doc/option_params/array.rb
 delete mode 100644 doc/option_params/block.rb
 delete mode 100644 doc/option_params/date.rb
 delete mode 100644 doc/option_params/datetime.rb
 delete mode 100644 doc/option_params/decimal_integer.rb
 delete mode 100644 doc/option_params/decimal_numeric.rb
 delete mode 100644 doc/option_params/descriptions.rb
 delete mode 100644 doc/option_params/explicit_array_values.rb
 delete mode 100644 doc/option_params/explicit_hash_values.rb
 delete mode 100644 doc/option_params/false_class.rb
 delete mode 100644 doc/option_params/float.rb
 delete mode 100644 doc/option_params/integer.rb
 delete mode 100644 doc/option_params/long_binary.rb
 delete mode 100644 doc/option_params/long_optional.rb
 delete mode 100644 doc/option_params/long_required.rb
 delete mode 100644 doc/option_params/long_simple.rb
 delete mode 100644 doc/option_params/matched_values.rb
 delete mode 100644 doc/option_params/method.rb
 delete mode 100644 doc/option_params/mixed_names.rb
 delete mode 100644 doc/option_params/numeric.rb
 delete mode 100644 doc/option_params/object.rb
 delete mode 100644 doc/option_params/octal_integer.rb
 delete mode 100644 doc/option_params/option_params.rdoc
 delete mode 100644 doc/option_params/proc.rb
 delete mode 100644 doc/option_params/regexp.rb
 delete mode 100644 doc/option_params/shellwords.rb
 delete mode 100644 doc/option_params/short_optional.rb
 delete mode 100644 doc/option_params/short_range.rb
 delete mode 100644 doc/option_params/short_required.rb
 delete mode 100644 doc/option_params/short_simple.rb
 delete mode 100644 doc/option_params/string.rb
 delete mode 100644 doc/option_params/terminator.rb
 delete mode 100644 doc/option_params/time.rb
 delete mode 100644 doc/option_params/true_class.rb
 delete mode 100644 doc/option_params/uri.rb
 create mode 100644 doc/ruby/argument_keywords.rb
 create mode 100644 doc/ruby/argument_strings.rb
 create mode 100644 doc/ruby/argv.rb
 create mode 100644 doc/ruby/array.rb
 create mode 100644 doc/ruby/block.rb
 create mode 100644 doc/ruby/date.rb
 create mode 100644 doc/ruby/datetime.rb
 create mode 100644 doc/ruby/decimal_integer.rb
 create mode 100644 doc/ruby/decimal_numeric.rb
 create mode 100644 doc/ruby/descriptions.rb
 create mode 100644 doc/ruby/explicit_array_values.rb
 create mode 100644 doc/ruby/explicit_hash_values.rb
 create mode 100644 doc/ruby/false_class.rb
 create mode 100644 doc/ruby/float.rb
 create mode 100644 doc/ruby/integer.rb
 create mode 100644 doc/ruby/long_binary.rb
 create mode 100644 doc/ruby/long_names.rb
 create mode 100644 doc/ruby/long_optional.rb
 create mode 100644 doc/ruby/long_required.rb
 create mode 100644 doc/ruby/long_simple.rb
 create mode 100644 doc/ruby/matched_values.rb
 create mode 100644 doc/ruby/method.rb
 create mode 100644 doc/ruby/mixed_names.rb
 create mode 100644 doc/ruby/numeric.rb
 create mode 100644 doc/ruby/object.rb
 create mode 100644 doc/ruby/octal_integer.rb
 create mode 100644 doc/ruby/optional_argument.rb
 create mode 100644 doc/ruby/proc.rb
 create mode 100644 doc/ruby/regexp.rb
 create mode 100644 doc/ruby/required_argument.rb
 create mode 100644 doc/ruby/shellwords.rb
 create mode 100644 doc/ruby/short_names.rb
 create mode 100644 doc/ruby/short_optional.rb
 create mode 100644 doc/ruby/short_range.rb
 create mode 100644 doc/ruby/short_required.rb
 create mode 100644 doc/ruby/short_simple.rb
 create mode 100644 doc/ruby/string.rb
 create mode 100644 doc/ruby/terminator.rb
 create mode 100644 doc/ruby/time.rb
 create mode 100644 doc/ruby/true_class.rb
 create mode 100644 doc/ruby/uri.rb
 create mode 100644 doc/tutorial.rdoc
 delete mode 100644 doc/tutorial/argv.rb
 delete mode 100644 doc/tutorial/long_names.rb
 delete mode 100644 doc/tutorial/mixed_names.rb
 delete mode 100644 doc/tutorial/optional_argument.rb
 delete mode 100644 doc/tutorial/required_argument.rb
 delete mode 100644 doc/tutorial/short_names.rb
 delete mode 100644 doc/tutorial/tutorial.rdoc

diff --git a/doc/creates_option.rdoc b/doc/creates_option.rdoc
index d006706..af1ac16 100644
--- a/doc/creates_option.rdoc
+++ b/doc/creates_option.rdoc
@@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/doc/creates_option.rdoc#L1
 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].
diff --git a/doc/option_params.rdoc b/doc/option_params.rdoc
new file mode 100644
 (... truncated)

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]