summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2021-03-30Update method name and add documentation.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4173
2021-03-27[Doc] Update regex engine to Onigumo in doc/extension.* [ci skip]Kenichi Kamiya
regex.c has been removed in 8e65234086a15f90585bc09cce82dbad2aa647d7 Notes: Merged: https://github.com/ruby/ruby/pull/4306 Merged-By: nobu <nobu@ruby-lang.org>
2021-03-21Pattern matching pin operator against expression [Feature #17411]Kazuki Tsujimoto
This commit is based on the patch by @nobu.
2021-03-13[Doc] Fix multiple `Magic Comments` exampleKenichi Kamiya
[ci skip] Notes: Merged: https://github.com/ruby/ruby/pull/4264
2021-02-23[DOC] Fix copy+paste mistake [ci skip]Lars Kanis
It was introduced in commit 089b7a84606925e885fe91050483a352735aa91e . Notes: Merged: https://github.com/ruby/ruby/pull/4211
2021-02-22Improve extension docs, remove deprecated rb_cData [ci skip]Lars Kanis
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 <nobu@ruby-lang.org>
2021-02-11[DOC] Improved regexp.rdoc [ci skip]Nobuyoshi Nakada
* Sub-sectioned "Repetition" section * Added examples of "Possessive match"
2021-02-09Fix broken linkUse amazing-print instead
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
2021-02-09Improve the wording surrounding `Proc#isolate`Use amazing-print instead
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
2021-02-01Add File.absolute_path? to NEWS-2.7.0 [ci skip]Masataka Pocke Kuwabara
`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 <nagachika@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4139 Merged-By: nobu <nobu@ruby-lang.org>
2021-01-17Update the maintainer of net-smtpHiroshi SHIBATA
2021-01-15Additions to method_documentation.rdoc (#4065)Burdette Lamar
* Additions to method_documentation.rdoc Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2021-01-12Typo fixes [doc]Marc-Andre Lafortune
2021-01-12Update wording in ractor.md (#4056) [doc]Adam Pogwizd
Notes: Merged-By: marcandre <github@marc-andre.ca>
2021-01-05[DOC] Fix grammar: "is same as" -> "is the same as"Marcus Stollsteimer
2021-01-02NEWS-3.0.0: backquote a few code related words. [doc]Marc-Andre Lafortune
2021-01-02NEWS: We have links now, and there is no changelog anymore [doc]Marc-Andre Lafortune
2020-12-27doc/ractor.md: Fix indentationMarcus Stollsteimer
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 "-".
2020-12-27[ruby/csv] fix typo conveters => converters for CSV parsing docs (#196)Sampat Badhe
https://github.com/ruby/csv/commit/77ccf486fe
2020-12-26doc/ractor.md: Fix indentation in code blocksMarcus Stollsteimer
Remove unnecessary indentation of code in code blocks (it is also not rendered properly in the generated HTML). Also remove an empty line.
2020-12-26methods.rdoc: Improve method definition documentationMarcus Stollsteimer
* 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
2020-12-26methods.rdoc: Clarify "currently" means "in 2.7" hereMarcus Stollsteimer
2020-12-25Update method definition documentationzverok
* Add endless methods * Add argument forwarding ... Notes: Merged: https://github.com/ruby/ruby/pull/3997
2020-12-25Adjusted the heading level of "Block Arguments" [ci skip]Nobuyoshi Nakada
2020-12-25Copy NEWS.md to doc/NEWS-3.0.0.md and update for 3.1.0Kazuhiro NISHIYAMA
2020-12-25[memory_view] Add documentation [ci skip]Kenta Murata
2020-12-24doc/syntax/pattern_matching.rdoc: fix typos, grammar, styleMarcus Stollsteimer
2020-12-24doc/extension.ja.rdoc: remove trailing whitespaceMarcus Stollsteimer
2020-12-24doc/keywords.rdoc: fix typoMarcus Stollsteimer
2020-12-24doc/maintainers.rdoc: typoYusuke Endoh
2020-12-24update doc/ractor.mdKoichi Sasada
2020-12-24doc/keywords.rdoc: mention pattern matching in the `in` keyword sectionYusuke Endoh
2020-12-24doc/contributing.rdoc: remove outdated contentYusuke Endoh
2020-12-24Tweak magic comments [doc]Marc-Andre Lafortune
2020-12-24remove redundant example.Koichi Sasada
pointed by @marcandre.
2020-12-24shareable_constant_value: experimental_copyKoichi Sasada
"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
2020-12-24add about Ractor into extension.rdoc [ci skip]Koichi Sasada
2020-12-23doc/fiber.md: fix typosMarcus Stollsteimer
2020-12-23Small improvements in magic comments docsMarcus Stollsteimer
* remove a duplicate statement * fix rdoc markup * fix typos
2020-12-23Document shareable_constant_value and other magic constants [doc]Marc-Andre Lafortune
2020-12-23Fix a message in example codeKazuki Tsujimoto
Thanks to @zverok for the report.
2020-12-22Move the library to extensions for some of default gemsHiroshi SHIBATA
2020-12-22Update fiber scheduler documentation.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/3965
2020-12-22Update documentation for pattern matchingKazuki Tsujimoto
2020-12-20fix phrasing in commentIvan Denysov
Notes: Merged: https://github.com/ruby/ruby/pull/3951
2020-12-20Fix markups and indentationKazuki Tsujimoto
2020-12-20Fix typosKazuki Tsujimoto
2020-12-20Update documentation for pattern matchingKazuki Tsujimoto
2020-12-19[DOC] Marked dtrace arguments as description list [ci skip]Nobuyoshi Nakada
2020-12-19[DOC] Fixed markups in dtrace_probes.rdoc [ci skip]Nobuyoshi Nakada
* `+` can enclose just a word. * TIDYLINK with braces gets confused when other braces even inside code precede.