Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/optparse/commit/cccb28e0de
|
|
https://github.com/ruby/optparse/commit/8be031b539
|
|
- 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
|
|
* 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
|
|
https://github.com/ruby/optparse/commit/9a2352c1c9
|
|
https://github.com/ruby/optparse/commit/d55d9284c3
|
|
https://github.com/ruby/optparse/commit/5618eeb49e
|
|
* More on tutorial: clearer example output
https://github.com/ruby/optparse/commit/84dfd92d2a
|
|
https://github.com/ruby/optparse/commit/f209276f79
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4173
|
|
regex.c has been removed in 8e65234086a15f90585bc09cce82dbad2aa647d7
Notes:
Merged: https://github.com/ruby/ruby/pull/4306
Merged-By: nobu <[email protected]>
|
|
This commit is based on the patch by @nobu.
|
|
[ci skip]
Notes:
Merged: https://github.com/ruby/ruby/pull/4264
|
|
It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e .
Notes:
Merged: https://github.com/ruby/ruby/pull/4211
|
|
rb_cData is deprecated and the characteristic alloc_func was already
removed in ruby-3.0. So this updates the recommendation accordingly.
It also adds fdbm_alloc() in order to show the allocation process
and to gives TypedData_Make_Struct() more context.
Moreover it describes fdbm_aref(), so that the relation to
rb_define_method() is shown.
And fdbm_aref() makes use of GetDBM() now, to show how this macro
might be used.
Notes:
Merged: https://github.com/ruby/ruby/pull/4208
Merged-By: nobu <[email protected]>
|
|
* Sub-sectioned "Repetition" section
* Added examples of "Possessive match"
|
|
The document should point to doc/syntax/comments.rdoc (with an "s") as there currently no `doc/syntax/comment.rdoc`
Notes:
Merged: https://github.com/ruby/ruby/pull/4162
|
|
This change moves the statement that `Proc#isolate` isn't yet exposed for Ruby users to the first time the method is mentioned. This is so that readers don't waste time trying to look it up in Ruby docs.
There was also unnecessary duplication:
```
Paragraph 1: "Given block will be isolated from outer scope by Proc#isolate."
Paragraph 2: "Given block will be isolated by Proc#isolate method"
```
So I combined the two sentences and slightly improved the wording for clarity.
Notes:
Merged: https://github.com/ruby/ruby/pull/4161
|
|
`File.absolute_path?` has been added since Ruby 2.7.0, but it isn't
mentioned in the NEWS. So this patch adds a NEWS entry.
ref: https://bugs.ruby-lang.org/issues/15868
Co-authored-by: nagachika <[email protected]>
Notes:
Merged: https://github.com/ruby/ruby/pull/4139
Merged-By: nobu <[email protected]>
|
|
|
|
* Additions to method_documentation.rdoc
Notes:
Merged-By: BurdetteLamar <[email protected]>
|
|
|
|
Notes:
Merged-By: marcandre <[email protected]>
|
|
|
|
|
|
|
|
Reintroduce removed empty line to fix indentation on rendered page
(the first line is _not_ indented despite the leading spaces,
and ends up "outdented" compared to the rest of the block).
Also add a missing "-".
|
|
https://github.com/ruby/csv/commit/77ccf486fe
|
|
Remove unnecessary indentation of code in code blocks
(it is also not rendered properly in the generated HTML).
Also remove an empty line.
|
|
* typos, grammar, formatting
* use `concrete_method` again in `regular_method` example,
to better distinguish from `forwarding_method` example
* clarify that leading arguments before `...` require Ruby 3.0
|
|
|
|
* Add endless methods
* Add argument forwarding ...
Notes:
Merged: https://github.com/ruby/ruby/pull/3997
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pointed by @marcandre.
|
|
"experimental_everything" makes the assigned value, it means
the assignment change the state of assigned value.
"experimental_copy" tries to make a deep copy and make copyied object
sharable.
Notes:
Merged: https://github.com/ruby/ruby/pull/3989
|
|
|
|
|
|
* remove a duplicate statement
* fix rdoc markup
* fix typos
|
|
|
|
Thanks to @zverok for the report.
|