Граф коммитов

863 Коммитов

Автор SHA1 Сообщение Дата
aycabta ece4ed0da7 Add --autocomplete / --noautocomplete options 2021-08-30 02:45:13 +09:00
Nobuyoshi Nakada f51a6ace06
[DOC] prefer RUBY_DEFAULT_FREE to a magic number [ci skip] 2021-08-21 16:50:51 +09:00
Nobuyoshi Nakada 8f755ad6c8
[DOC] mention rb_define_alloc_func [ci skip] 2021-08-21 16:48:13 +09:00
Nobuyoshi Nakada 5e7cc0eebe
[DOC] update extension.ja.rdoc [ci skip]
`rb_cData` has been deprecated for years.
2021-08-21 11:21:37 +09:00
Kazuki Tsujimoto ecb6d6a4ef
Allow omission of parentheses in one line pattern matching [Feature #16182] 2021-08-19 17:07:58 +09:00
Hiroshi SHIBATA 23ef326656
Manually picking https://github.com/ruby/optparse/pull/14 2021-07-28 20:13:39 +09:00
Olle Jonsson 3026ee56b1
[ruby/optparse] Remove an errant { character (https://github.com/ruby/optparse/pull/26)
https://github.com/ruby/optparse/commit/47417f1b4c
2021-07-28 20:13:39 +09:00
Burdette Lamar c4556a2022
[ruby/optparse] Fix link in included file
https://github.com/ruby/optparse/commit/bf03038d95
2021-07-28 20:13:39 +09:00
Burdette Lamar 1333620afd
[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/24)
- Adds section "Parsing" to tutorial.rdoc.
- Removes section "Terminators" from option_params.rdoc. (Terminator '--' is not an option parameter.)

https://github.com/ruby/optparse/commit/40d51ccbad
2021-07-28 20:13:39 +09:00
Burdette Lamar 27679b349e
[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/23)
- Removed a largish block of repeated text.
- Added sections "Top List and Base List" and "Methods for Defining Options" (on, define, etc.).
- Linked from class OptionParser doc to the tutorial.

https://github.com/ruby/optparse/commit/7f3195b9db
2021-07-28 20:13:39 +09:00
Nobuyoshi Nakada a10db32003
[ruby/optparse] Removed a duplicate section
https://github.com/ruby/optparse/commit/7ef3d89e78
2021-07-28 20:13:39 +09:00
Burdette Lamar 98ccb49ac3
[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/22)
Adds argument abbreviation in option_params.rdoc.
    Adds entire Argument Values section to tutorial.rdoc.

https://github.com/ruby/optparse/commit/9c5b3f244b
2021-07-28 20:13:39 +09:00
Burdette Lamar 43af561e08
[ruby/optparse] Rdoc for help (https://github.com/ruby/optparse/pull/21)
https://github.com/ruby/optparse/commit/d07cb96a96
2021-07-28 20:13:39 +09:00
Burdette Lamar a15f0b9fe2
[ruby/optparse] Tutorial: explain custom argument converters (https://github.com/ruby/optparse/pull/19)
https://github.com/ruby/optparse/commit/385dd4322d
2021-07-28 20:13:39 +09:00
Nobuyoshi Nakada 311eb328c8
[ruby/optparse] Fixed mismatched <tt> tag
https://github.com/ruby/optparse/commit/7e65ef3cfa
2021-07-28 20:13:38 +09:00
Burdette Lamar a4631a4273
[ruby/optparse] Enhanced doc for option parameters (https://github.com/ruby/optparse/pull/11)
https://github.com/ruby/optparse/commit/5618eeb49e
2021-07-28 20:13:38 +09:00
Burdette Lamar 05e9efa323
[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/9)
* More on tutorial

* More on tutorial

* More on tutorial

* More on tutorial: clearer example output

https://github.com/ruby/optparse/commit/84dfd92d2a
2021-07-28 20:13:38 +09:00
BurdetteLamar 8844eba488
[ruby/optparse] Beginnings of tutorial
https://github.com/ruby/optparse/commit/f209276f79
2021-07-28 20:13:38 +09:00
Jeremy Evans 4fc9ddd7b6 Update Capturing and Anchors sections of regexp documention
Document that only first 9 numbered capture groups can use the \n
backreference syntax.  Document \0 backreference.  Document \K anchor.

Fixes [Bug #14500]
2021-07-27 12:30:43 -07:00
Ulysses Zhan e4b68ab700
[DOC] Fixed the description of regexp alternations [ci skip] 2021-07-22 14:10:57 +09:00
Burdette Lamar a541fe1a75
Doc guide for class/module (#4600)
Co-authored-by: Marivaldo Cavalheiro <marivaldo@gmail.com>
2021-07-18 18:43:34 -04:00
Kazuki Tsujimoto eed5e8f796
One-line pattern matching is no longer experimental
https://github.com/ruby/dev-meeting-log/blob/master/DevelopersMeeting20210715Japan.md#feature-17724-make-the-pin-operator-support-instanceclassglobal-variables-jeremyevans0
2021-07-17 11:13:52 +09:00
Jeremy Evans fa87f72e1e Add pattern matching pin support for instance/class/global variables
Pin matching for local variables and constants is already supported,
and it is fairly simple to add support for these variable types.

Note that pin matching for method calls is still not supported
without wrapping in parentheses (pin expressions).  I think that's
for the best as method calls are far more complex (arguments/blocks).

Implements [Feature #17724]
2021-07-15 09:56:02 -07:00
Kazuhiro NISHIYAMA e105d93b4f
Fix default prompt mode in doc/irb/irb.rd.ja 2021-07-02 13:23:20 +09:00
Samuel Williams 2792acc8f2
Add scheduler hook `Addrinfo.getaddrinfo`. (#4375)
Co-authored-by: Bruno Sutic <code@brunosutic.com>
2021-06-14 16:21:08 +12:00
Hiroshi SHIBATA be2e2b4805 Promote net-smtp to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA aa9726f7b9 Promote net-pop to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA d5bc6b2337 Promote net-imap to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA e49c998d1e Promote net-ftp to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA 454a36794f Promote matrix to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA c9178c1127 Promote prime to the bundled gems 2021-05-27 14:42:11 +09:00
Hiroshi SHIBATA edcc29dcff Removed gdbm from ruby repo 2021-05-25 20:04:54 +09:00
Hiroshi SHIBATA 55cd3e4ebf Removed dbm from ruby repo 2021-05-25 15:18:31 +09:00
Hiroshi SHIBATA ab3266ea5c Removed tracer from ruby repo 2021-05-25 13:13:52 +09:00
Hiroshi SHIBATA 4aaa98e626
xibbar is retired from cgi.rb maintainer 2021-05-24 18:37:18 +09:00
Jeremy Evans 2e919e4a64 Remove extra word in heredoc documentation
From Thibault Jouan

Fixes [Misc #17872]
2021-05-20 12:24:41 -07:00
Jeremy Evans ee1725cecb Update keyword argument description in method syntax guide
Remove discussion of Ruby 2.7 specific handling of keyword
argument separation.  Add a small example of keyword to
positional hash conversion for methods not accepting
keyword arguments.
2021-05-11 15:45:52 -07:00
Burdette Lamar 86b4c2fc3f
What's Here for class Dir (#4472)
What's Here for class Dir
2021-05-07 15:14:08 -05:00
Burdette Lamar 6ee55455a8 Update Time documentation 2021-04-29 19:58:15 -07:00
Ryuta Kamizono 33f2ff3bab Fix some typos by spell checker 2021-04-26 10:07:41 +09:00
wonda-tea-coffee e71bc56efe [Doc] Fix a typo s/evel/eval/ 2021-04-25 19:45:42 +12:00
wonda-tea-coffee fc84e6679d [Doc] Fix a typo s/invokations/invocations/ 2021-04-25 19:45:01 +12:00
Nobuyoshi Nakada f89486965b [ruby/optparse] Moved rdoc files to doc/optparse
https://github.com/ruby/optparse/commit/cccb28e0de
2021-04-11 09:03:36 +09:00
Nobuyoshi Nakada cb01437c24 [ruby/optparse] Fix relative paths
https://github.com/ruby/optparse/commit/8be031b539
2021-04-11 08:52:58 +09:00
Burdette Lamar 1bad4bdf52 [ruby/optparse] More on tutorial (#16)
-   Added example in "Argument Converters"; it doesn't seem right for a tutorial to have no example in one of its topics (and instead just linking elsewhere).
-   Added section "Command-Line Abbreviations."
 -  Added section "Keyword Argument into," showing how to:
     -  Collect options.
     -  Check for missing options.
     -  Provide option defaults.

https://github.com/ruby/optparse/commit/39d39676c4
2021-04-11 08:52:54 +09:00
Burdette Lamar ff0dac1849 [ruby/optparse] Rdoc (#15)
* Resolve shared mixed_names.rb

* Add long option with negation

* Show --help for all examples

* Table of contents for tutorial

* Move argument converters to separate rdoc

* Add references to argument_converters.rdoc

* Tune up argument converters

* Change explicit links to auto-links

https://github.com/ruby/optparse/commit/c91ed8d33d
2021-04-11 08:52:52 +09:00
Burdette Lamar c795f30ef0 [ruby/optparse] Reorganize Ruby example files for sharing (#14)
https://github.com/ruby/optparse/commit/9a2352c1c9
2021-04-11 08:52:50 +09:00
BurdetteLamar a5ecce9187
[ruby/optparse] Make use of option_params.rdoc
https://github.com/ruby/optparse/commit/d55d9284c3
2021-04-08 12:11:42 +09:00
Burdette Lamar 5891159f96
[ruby/optparse] Enhanced doc for option parameters (#11)
https://github.com/ruby/optparse/commit/5618eeb49e
2021-04-08 12:11:42 +09:00
Burdette Lamar fe72cff487
[ruby/optparse] More on tutorial (#9)
* More on tutorial: clearer example output

https://github.com/ruby/optparse/commit/84dfd92d2a
2021-04-08 12:11:32 +09:00